package com.caigou.controller.front;

import com.caigou.bean.cms.entity.ArticleKeyword;
import com.caigou.bean.cms.entity.ArticleTitle;
import com.caigou.bean.cms.entity.Channel;
import com.caigou.bean.vo.KeyValueVO;
import com.caigou.mapper.cms.ArticleKeywordMapper;
import com.caigou.mapper.cms.ArticleMapper;
import com.caigou.mapper.cms.ArticleTitleMapper;
import com.caigou.pojo.ArticleList;
import com.caigou.service.ArticleService;
import com.caigou.service.ChannelService;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.util.CollectionUtils;
import org.springframework.util.StringUtils;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

import javax.annotation.Resource;
import java.util.*;
import java.util.stream.Collectors;

/**
 * @FileName: FontChannelController
 * @Author: 小飞
 * @Date: 2021/11/23 0023
 * @Description: 用于处理各栏目伪静态列表页
 */
@Slf4j
@Controller
public class FontChannelController {

    @Resource
    private ChannelService channelService;

    @Resource
    private ArticleMapper articleMapper;
    @Resource
    private ArticleTitleMapper articleTitleMapper;
    @Resource
    private ArticleKeywordMapper articleKeywordMapper;

    @Value("${domain}")
    private String domain;// www.caigou2003.com
    @Value("${domainQiChe}")
    private String domainQiChe;// qiche.caigou2003.com
    @Value("${domainIT}")
    private String domainIT;// it.caigou2003.com
    @Value("${domainDianTi}")
    private String domainDianTi;// dianti.caigou2003.com
    @Value("${domainJiaJu}")
    private String domainJiaJu;// dianti.caigou2003.com
    @Value("${domainKongTiao}")
    private String domainKongTiao;// dianti.caigou2003.com
    @Value("${domainBeiJing}")
    private String domainBeiJing;// beijing.caigou2003.com
    @Value("${domainFuJian}")
    private String domainFuJian;// fujian.caigou2003.com
    @Value("${domainGuiZhou}")
    private String domainGuiZhou;// guizhou.caigou2003.com
    @Value("${domainHaiNan}")
    private String domainHaiNan;// hainan.caigou2003.com
    @Value("${domainHeBei}")
    private String domainHeBei;// hebei.caigou2003.com
    @Value("${domainHeNan}")
    private String domainHeNan;// henan.caigou2003.com
    @Value("${domainHuBei}")
    private String domainHuBei;// hubei.caigou2003.com
    @Value("${domainJiangSu}")
    private String domainJiangSu;// jiangsu.caigou2003.com
    @Value("${domainLiaoNing}")
    private String domainLiaoNing;// liaoning.caigou2003.com
    @Value("${domainShanDong}")
    private String domainShanDong;// shandong.caigou2003.com
    @Value("${domainShaanXi}")
    private String domainShaanXi;// shaanxi.caigou2003.com
    @Value("${domainTianJin}")
    private String domainTianJin;// tianjin.caigou2003.com
    @Value("${domainYunNan}")
    private String domainYunNan;// yunnan.caigou2003.com
    @Value("${domainZheJiang}")
    private String domainZheJiang;// zhejiang.caigou2003.com
    @Value("${domainChongQing}")
    private String domainChongQing;// chongqing.caigou2003.com
    @Value("${domainShenZhen}")
    private String domainShenZhen;// shenzhen.caigou2003.com
    @Value("${domainQingDao}")
    private String domainQingDao;// qingdao.caigou2003.com
    @Value("${domainDaLian}")
    private String domainDaLian;// dalian.caigou2003.com
    @Value("${domainXiZang}")
    private String domainXiZang;// xizang.caigou2003.com
    @Value("${domainXinJiang}")
    private String domainXinJiang;// xinjiang.caigou2003.com
    @Value("${domainNingXia}")
    private String domainNingXia;// ningxia.caigou2003.com
    @Value("${domainGuangXi}")
    private String domainGuangXi;// guangxi.caigou2003.com
    @Value("${domainNeiMengGu}")
    private String domainNeiMengGu;// neimenggu.caigou2003.com
    @Value("${domainGanSu}")
    private String domainGanSu;// gansu.caigou2003.com
    @Value("${domainBingTuan}")
    private String domainBingTuan;// gansu.caigou2003.com

    /**
     * 获取汽车各个栏目列表页更多接口--返回伪静态数据页
     * 前台页面访问地址：qiche.caigou2003.com/web/list/yaowen/index_1.html
     * 转发接口地址：api.caigou2003.com/automobile/yaowen/1
     * @param map           数据返回结构
     * @param channelName   需加载数据的频道ID
     * @param pageNum       页码
     * @return              页面数据
     */
    @RequestMapping(value = "/automobile/{channelName}/{pageNum}", method = RequestMethod.GET)
    public String autoListRewrite(@PathVariable(name = "channelName") String channelName, @PathVariable(name = "pageNum") Integer pageNum,
                                   ModelMap map) {
        // 注入主域名与当前二级域名
        map.put("domain", domain);
        map.put("domainQiChe", domainQiChe);
        map.put("domainQiCheUrl", domainQiChe+"/web/list/"+channelName+"/index_");
        // 频道信息数据
        List<String> channelIds = new ArrayList<>();// 文章列表获取参数
        String channelId;// 频道配置获取参数
        switch (channelName){
            case "yaowen":// 汽车-要闻频道(107010101)
                channelIds.add("107010101");
                channelId = "107010101";
                break;
            case "zhuanti":// 汽车-专题频道(107010102)
                channelIds.add("107010102");
                channelId = "107010102";
                break;
            case "zhengce":// 汽车-政策频道(107010103)
                channelIds.add("107010103");
                channelId = "107010103";
                break;
            case "jiedu":// 汽车-解读频道(107010104)
                channelIds.add("107010104");
                channelId = "107010104";
                break;
            case "heimingdan":// 汽车-黑名单频道(107010105)
                channelIds.add("107010105");
                channelId = "107010105";
                break;
            case "shujubaogao":// 汽车-数据报告频道(107010201)
                channelIds.add("107010201");
                channelId = "107010201";
                break;
            case "xincheshangshi":// 汽车-新车上市(107010301)
                channelIds.add("107010301");
                channelId = "107010301";
                break;
            case "remenwenzhang":// 汽车-汽车列表横(107010302)
                channelIds.add("107010302");
                channelId = "107010302";
                break;
            case "tuwenzixun":// 汽车-汽车列表竖(107010303)
                channelIds.add("107010303");
                channelId = "107010303";
                break;
            case "jiaodian":// 汽车-轮播图(107020101)
                channelIds.add("107020101");
                channelId = "107020101";
                break;
            case "haochehui":// 汽车-好车汇(107020201)
                channelIds.add("107020201");
                channelId = "107020201";
                break;
            case "tuokouxiu":// 汽车-投标脱口秀(107020301)
                channelIds.add("107020301");
                channelId = "107020301";
                break;
                default:// 默认取汽车全站数据（热搜榜）
                    channelIds.add("107");
                    channelId = "107";
        }
        // 获取频道配置参数
        Channel channel = channelService.getChannelByPlateId(channelId);
        map.put("channel", channel);
        if (channelName.equals("redian")){
            map.put("column", "热搜榜");
        } else {
            map.put("column", channel.getChannelName());
        }
        // 内容列表数据
        if (null == pageNum) pageNum = 1;
        PageHelper.startPage(pageNum, 12);
        List<ArticleList> articleList;
        if (channelName.equals("redian")){// 取点击量排序
            articleList = articleMapper.loadArticleByPlatesOrderClick(channelIds);
        } else {
            articleList = articleMapper.loadArticleByPlates(channelIds);
        }
        // 处理文章标题
        articleList.forEach(item -> {
            ArticleTitle articleTitle = articleTitleMapper.loadArticleTitle(item.getArticleId(), -1);
            if (null != articleTitle){
                item.setArticleTitle(articleTitle.getArticleTitle());
                item.setArticleImage(articleTitle.getArticleImage());
                item.setArticleImageAlt(articleTitle.getArticleImageAlt());
            }
            // 关键字列表处理
            List<ArticleKeyword> articleKeywordList = new ArrayList<>();// 关键词列表(可点击)
            if (!item.getArticleKeyWord().equals("")) {
                String[] articleKeyword = item.getArticleKeyWord().split(",");
                for (String info : articleKeyword) {
                    ArticleKeyword keyword = articleKeywordMapper.selectByPrimaryKey(Integer.valueOf(info));
                    if (null != keyword) {
                        articleKeywordList.add(keyword);
                    }
                }
            }
            item.setArticleKeywordList(articleKeywordList);
        });
        map.put("articleList", new PageInfo<>(articleList));
        return "/web/html/list/automobileList";
    }

    /**
     * 获取IT各个栏目列表页更多接口--返回伪静态数据页
     * 前台页面访问地址：it.caigou2003.com/web/list/yaowen/index_1.html
     * 转发接口地址：api.caigou2003.com/it/yaowen/1
     * @param map           数据返回结构
     * @param channelName   需加载数据的频道ID
     * @param pageNum       页码
     * @return              页面数据
     */
    @RequestMapping(value = "/it/{channelName}/{pageNum}", method = RequestMethod.GET)
    public String itListRewrite(@PathVariable(name = "channelName") String channelName, @PathVariable(name = "pageNum") Integer pageNum,
                                ModelMap map) {
        // 注入主域名与当前二级域名
        map.put("domain", domain);
        map.put("domainIT", domainIT);
        map.put("domainITUrl", domainIT+"/web/list/"+channelName+"/index_");
        // 频道信息数据
        List<String> channelIds = new ArrayList<>();// 文章列表获取参数
        String channelId;// 频道配置获取参数
        switch (channelName){
            case "yaowen":// IT-要闻频道(108010101)
                channelIds.add("108010101");
                channelId = "108010101";
                break;
            case "zhuanti":// IT-专题频道(108010102)
                channelIds.add("108010102");
                channelId = "108010102";
                break;
            case "zhengce":// IT-政策频道(108010103)
                channelIds.add("108010103");
                channelId = "108010103";
                break;
            case "jiedu":// IT-解读频道(108010104)
                channelIds.add("108010104");
                channelId = "108010104";
                break;
            case "heimingdan":// IT-黑名单频道(108010105)
                channelIds.add("108010105");
                channelId = "108010105";
                break;
            case "shujubaogao":// IT-数据报告频道(108010201)
                channelIds.add("108010201");
                channelId = "108010201";
                break;
            case "xinpintuijian":// IT-新品推荐(108010301)
                channelIds.add("108010301");
                channelId = "108010301";
                break;
            case "remenwenzhang":// IT-列表横(108010302)
                channelIds.add("108010302");
                channelId = "108010302";
                break;
            case "tuwenzixun":// IT-列表竖(108010303)
                channelIds.add("108010303");
                channelId = "108010303";
                break;
            case "jiaodian":// IT-轮播图(108020101)
                channelIds.add("108020101");
                channelId = "108020101";
                break;
            case "pingyoupingce":// IT-评优评测(108020201)
                channelIds.add("108020201");
                channelId = "108020201";
                break;
            case "jingpindian":// IT-精品店(108020301)
                channelIds.add("108020301");
                channelId = "108020301";
                break;
            default:// 默认取汽车全站数据（热搜榜）
                channelIds.add("108");
                channelId = "108";
        }
        // 获取频道配置参数
        Channel channel = channelService.getChannelByPlateId(channelId);
        map.put("channel", channel);
        if (channelName.equals("redian")){
            map.put("column", "热搜榜");
        } else {
            map.put("column", channel.getChannelName());
        }
        // 内容列表数据
        if (null == pageNum) pageNum = 1;
        PageHelper.startPage(pageNum, 12);
        List<ArticleList> articleList;
        if (channelName.equals("redian")){// 取点击量排序
            articleList = articleMapper.loadArticleByPlatesOrderClick(channelIds);
        } else {
            articleList = articleMapper.loadArticleByPlates(channelIds);
        }
        // 处理文章标题
        articleList.forEach(item -> {
            ArticleTitle articleTitle = articleTitleMapper.loadArticleTitle(item.getArticleId(), -1);
            if (null != articleTitle){
                item.setArticleTitle(articleTitle.getArticleTitle());
                item.setArticleImage(articleTitle.getArticleImage());
                item.setArticleImageAlt(articleTitle.getArticleImageAlt());
            }
            // 关键字列表处理
            List<ArticleKeyword> articleKeywordList = new ArrayList<>();// 关键词列表(可点击)
            if (!item.getArticleKeyWord().equals("")) {
                String[] articleKeyword = item.getArticleKeyWord().split(",");
                for (String info : articleKeyword) {
                    ArticleKeyword keyword = articleKeywordMapper.selectByPrimaryKey(Integer.valueOf(info));
                    if (null != keyword) {
                        articleKeywordList.add(keyword);
                    }
                }
            }
            item.setArticleKeywordList(articleKeywordList);
        });
        map.put("articleList", new PageInfo<>(articleList));
        return "/web/html/list/itList";
    }

    /**
     * 获取电梯各个栏目列表页更多接口--返回伪静态数据页
     * 前台页面访问地址：dianti.caigou2003.com/web/list/yaowen/index_1.html
     * 转发接口地址：api.caigou2003.com/elevator/yaowen/1
     * @param map           数据返回结构
     * @param channelName   需加载数据的频道ID
     * @param pageNum       页码
     * @return              页面数据
     */
    @RequestMapping(value = "/elevator/{channelName}/{pageNum}", method = RequestMethod.GET)
    public String elevatorListRewrite(@PathVariable(name = "channelName") String channelName, @PathVariable(name = "pageNum") Integer pageNum,
                                      ModelMap map){
        // 注入主域名与当前二级域名
        map.put("domain", domain);
        map.put("domainDianTi", domainDianTi);
        map.put("domainDianTiUrl", domainDianTi+"/web/list/"+channelName+"/index_");
        // 频道信息数据
        List<String> channelIds = new ArrayList<>();// 文章列表获取参数
        String channelId;// 频道配置获取参数
        switch (channelName){
            case "yaowen":// 电梯-要闻频道(109010101)
                channelIds.add("109010101");
                channelId = "109010101";
                break;
            case "zhuanti":// 电梯-专题频道(109010102)
                channelIds.add("109010102");
                channelId = "109010102";
                break;
            case "zhengce":// 电梯-政策频道(109010103)
                channelIds.add("109010103");
                channelId = "109010103";
                break;
            case "jiedu":// 电梯-解读频道(109010104)
                channelIds.add("109010104");
                channelId = "109010104";
                break;
            case "heimingdan":// 电梯-黑名单频道(109010105)
                channelIds.add("109010105");
                channelId = "109010105";
                break;
            case "shujubaogao":// 电梯-数据报告频道(109010201)
                channelIds.add("109010201");
                channelId = "109010201";
                break;
            case "xinpintuijian":// 电梯-新品推荐(109010301)
                channelIds.add("109010301");
                channelId = "109010301";
                break;
            case "remenwenzhang":// 电梯-列表横(109010302)
                channelIds.add("109010302");
                channelId = "109010302";
                break;
            case "tuwenzixun":// 电梯-列表竖(109010303)
                channelIds.add("109010303");
                channelId = "109010303";
                break;
            case "jiaodian":// 电梯-轮播图(109020101)
                channelIds.add("109020101");
                channelId = "109020101";
                break;
            case "pingyoupingce":// 电梯-评优评测(109020201)
                channelIds.add("109020201");
                channelId = "109020201";
                break;
            case "jingpindian":// 电梯-精品店(109020301)
                channelIds.add("109020301");
                channelId = "109020301";
                break;
            default:// 默认取电梯全站数据（热搜榜）
                channelIds.add("109");
                channelId = "109";
        }
        // 获取频道配置参数
        Channel channel = channelService.getChannelByPlateId(channelId);
        map.put("channel", channel);
        if (channelName.equals("redian")){
            map.put("column", "热搜榜");
        } else {
            map.put("column", channel.getChannelName());
        }
        // 内容列表数据
        if (null == pageNum) pageNum = 1;
        PageHelper.startPage(pageNum, 12);
        List<ArticleList> articleList;
        if (channelName.equals("redian")){// 取点击量排序
            articleList = articleMapper.loadArticleByPlatesOrderClick(channelIds);
        } else {
            articleList = articleMapper.loadArticleByPlates(channelIds);
        }
        // 处理文章标题
        articleList.forEach(item -> {
            ArticleTitle articleTitle = articleTitleMapper.loadArticleTitle(item.getArticleId(), -1);
            if (null != articleTitle){
                item.setArticleTitle(articleTitle.getArticleTitle());
                item.setArticleImage(articleTitle.getArticleImage());
                item.setArticleImageAlt(articleTitle.getArticleImageAlt());
            }
            // 关键字列表处理
            List<ArticleKeyword> articleKeywordList = new ArrayList<>();// 关键词列表(可点击)
            if (!item.getArticleKeyWord().equals("")) {
                String[] articleKeyword = item.getArticleKeyWord().split(",");
                for (String info : articleKeyword) {
                    ArticleKeyword keyword = articleKeywordMapper.selectByPrimaryKey(Integer.valueOf(info));
                    if (null != keyword) {
                        articleKeywordList.add(keyword);
                    }
                }
            }
            item.setArticleKeywordList(articleKeywordList);
        });
        map.put("articleList", new PageInfo<>(articleList));
        return "/web/html/list/elevatorList";
    }

    /**
     * 获取家具各个栏目列表页更多接口--返回伪静态数据页
     * 前台页面访问地址：jiaju.caigou2003.com/web/list/yaowen/index_1.html
     * 转发接口地址：api.caigou2003.com/furniture/yaowen/1
     * @param map           数据返回结构
     * @param channelName   需加载数据的频道ID
     * @param pageNum       页码
     * @return              页面数据
     */
    @RequestMapping(value = "/furniture/{channelName}/{pageNum}", method = RequestMethod.GET)
    public String furnitureListRewrite(@PathVariable(name = "channelName") String channelName, @PathVariable(name = "pageNum") Integer pageNum,
                                       ModelMap map){
        // 注入主域名与当前二级域名
        map.put("domain", domain);
        map.put("domainJiaJu", domainJiaJu);
        map.put("domainJiaJuUrl", domainJiaJu+"/web/list/"+channelName+"/index_");
        // 频道信息数据
        List<String> channelIds = new ArrayList<>();// 文章列表获取参数
        String channelId;// 频道配置获取参数
        switch (channelName){
            case "yaowen":// 家具-要闻频道(111010101)
                channelIds.add("111010101");
                channelId = "111010101";
                break;
            case "zhuanti":// 家具-专题频道(111010102)
                channelIds.add("111010102");
                channelId = "111010102";
                break;
            case "zhengce":// 家具-政策频道(111010103)
                channelIds.add("111010103");
                channelId = "111010103";
                break;
            case "jiedu":// 家具-解读频道(111010104)
                channelIds.add("111010104");
                channelId = "111010104";
                break;
            case "heimingdan":// 家具-黑名单频道(111010105)
                channelIds.add("111010105");
                channelId = "111010105";
                break;
            case "shujubaogao":// 家具-数据报告频道(111010201)
                channelIds.add("111010201");
                channelId = "111010201";
                break;
            case "xinpintuijian":// 家具-新品推荐(111010301)
                channelIds.add("111010301");
                channelId = "111010301";
                break;
            case "remenwenzhang":// 电梯-列表横(111010302)
                channelIds.add("111010302");
                channelId = "111010302";
                break;
            case "tuwenzixun":// 家具-列表竖(111010303)
                channelIds.add("111010303");
                channelId = "111010303";
                break;
            case "jiaodian":// 家具-轮播图(111020101)
                channelIds.add("111020101");
                channelId = "111020101";
                break;
            case "pingyoupingce":// 电梯-评优评测(111020201)
                channelIds.add("111020201");
                channelId = "111020201";
                break;
            case "jingpindian":// 家具-精品店(111020301)
                channelIds.add("111020301");
                channelId = "111020301";
                break;
            default:// 默认取家具全站数据（热搜榜）
                channelIds.add("111");
                channelId = "111";
        }
        // 获取频道配置参数
        Channel channel = channelService.getChannelByPlateId(channelId);
        map.put("channel", channel);
        if (channelName.equals("redian")){
            map.put("column", "热搜榜");
        } else {
            map.put("column", channel.getChannelName());
        }
        // 内容列表数据
        if (null == pageNum) pageNum = 1;
        PageHelper.startPage(pageNum, 12);
        List<ArticleList> articleList;
        if (channelName.equals("redian")){// 取点击量排序
            articleList = articleMapper.loadArticleByPlatesOrderClick(channelIds);
        } else {
            articleList = articleMapper.loadArticleByPlates(channelIds);
        }
        // 处理文章标题
        articleList.forEach(item -> {
            ArticleTitle articleTitle = articleTitleMapper.loadArticleTitle(item.getArticleId(), -1);
            if (null != articleTitle){
                item.setArticleTitle(articleTitle.getArticleTitle());
                item.setArticleImage(articleTitle.getArticleImage());
                item.setArticleImageAlt(articleTitle.getArticleImageAlt());
            }
            // 关键字列表处理
            List<ArticleKeyword> articleKeywordList = new ArrayList<>();// 关键词列表(可点击)
            if (!item.getArticleKeyWord().equals("")) {
                String[] articleKeyword = item.getArticleKeyWord().split(",");
                for (String info : articleKeyword) {
                    ArticleKeyword keyword = articleKeywordMapper.selectByPrimaryKey(Integer.valueOf(info));
                    if (null != keyword) {
                        articleKeywordList.add(keyword);
                    }
                }
            }
            item.setArticleKeywordList(articleKeywordList);
        });
        map.put("articleList", new PageInfo<>(articleList));
        return "/web/html/list/furnitureList";
    }

    /**
     * 获取空调各个栏目列表页更多接口--返回伪静态数据页
     * 前台页面访问地址：kongtiao.caigou2003.com/web/list/yaowen/index_1.html
     * 转发接口地址：api.caigou2003.com/conditioner/yaowen/1
     * @param map           数据返回结构
     * @param channelName   需加载数据的频道ID
     * @param pageNum       页码
     * @return              页面数据
     */
    @RequestMapping(value = "/conditioner/{channelName}/{pageNum}", method = RequestMethod.GET)
    public String conditionerListRewrite(@PathVariable(name = "channelName") String channelName, @PathVariable(name = "pageNum") Integer pageNum,
                                       ModelMap map){
        // 注入主域名与当前二级域名
        map.put("domain", domain);
        map.put("domainKongTiao", domainKongTiao);
        map.put("domainKongTiaoUrl", domainKongTiao+"/web/list/"+channelName+"/index_");
        // 频道信息数据
        List<String> channelIds = new ArrayList<>();// 文章列表获取参数
        String channelId;// 频道配置获取参数
        switch (channelName){
            case "yaowen":// 空调-要闻频道(110010101)
                channelIds.add("110010101");
                channelId = "110010101";
                break;
            case "zhuanti":// 空调-专题频道(110010102)
                channelIds.add("110010102");
                channelId = "110010102";
                break;
            case "zhengce":// 空调-政策频道(110010103)
                channelIds.add("110010103");
                channelId = "110010103";
                break;
            case "jiedu":// 空调-解读频道(110010104)
                channelIds.add("110010104");
                channelId = "110010104";
                break;
            case "heimingdan":// 空调-黑名单频道(110010105)
                channelIds.add("110010105");
                channelId = "110010105";
                break;
            case "shujubaogao":// 空调-数据报告频道(110010201)
                channelIds.add("110010201");
                channelId = "110010201";
                break;
            case "xinpintuijian":// 空调-新品推荐(110010301)
                channelIds.add("110010301");
                channelId = "110010301";
                break;
            case "remenwenzhang":// 空调-列表横(110010302)
                channelIds.add("110010302");
                channelId = "110010302";
                break;
            case "tuwenzixun":// 空调-列表竖(110010303)
                channelIds.add("110010303");
                channelId = "110010303";
                break;
            case "jiaodian":// 空调-轮播图(110020101)
                channelIds.add("110020101");
                channelId = "110020101";
                break;
            case "pingyoupingce":// 空调-评优评测(110020201)
                channelIds.add("110020201");
                channelId = "110020201";
                break;
            case "jingpindian":// 空调-精品店(110020301)
                channelIds.add("110020301");
                channelId = "110020301";
                break;
            default:// 默认取空调全站数据（热搜榜）
                channelIds.add("110");
                channelId = "110";
        }
        // 获取频道配置参数
        Channel channel = channelService.getChannelByPlateId(channelId);
        map.put("channel", channel);
        if (channelName.equals("redian")){
            map.put("column", "热搜榜");
        } else {
            map.put("column", channel.getChannelName());
        }
        // 内容列表数据
        if (null == pageNum) pageNum = 1;
        PageHelper.startPage(pageNum, 12);
        List<ArticleList> articleList;
        if (channelName.equals("redian")){// 取点击量排序
            articleList = articleMapper.loadArticleByPlatesOrderClick(channelIds);
        } else {
            articleList = articleMapper.loadArticleByPlates(channelIds);
        }
        // 处理文章标题
        articleList.forEach(item -> {
            ArticleTitle articleTitle = articleTitleMapper.loadArticleTitle(item.getArticleId(), -1);
            if (null != articleTitle){
                item.setArticleTitle(articleTitle.getArticleTitle());
                item.setArticleImage(articleTitle.getArticleImage());
                item.setArticleImageAlt(articleTitle.getArticleImageAlt());
            }
            // 关键字列表处理
            List<ArticleKeyword> articleKeywordList = new ArrayList<>();// 关键词列表(可点击)
            if (!item.getArticleKeyWord().equals("")) {
                String[] articleKeyword = item.getArticleKeyWord().split(",");
                for (String info : articleKeyword) {
                    ArticleKeyword keyword = articleKeywordMapper.selectByPrimaryKey(Integer.valueOf(info));
                    if (null != keyword) {
                        articleKeywordList.add(keyword);
                    }
                }
            }
            item.setArticleKeywordList(articleKeywordList);
        });
        map.put("articleList", new PageInfo<>(articleList));
        return "/web/html/list/conditionerList";
    }

    /**
     * 获取北京分站各个栏目列表页更多接口--返回伪静态数据页
     * 前台页面访问地址：beijing.caigou2003.com/web/beijing/tzgg/index_1.html
     * 转发接口地址：api.caigou2003.com/beijing/tzgg/1
     * @param map           数据返回结构
     * @param channelName   需加载数据的栏目ID
     * @param pageNum       页码
     * @return              页面数据
     */
    @RequestMapping(value = "/beijing/{channelName}/{pageNum}", method = RequestMethod.GET)
    public String beijingListRewrite(@PathVariable(name = "channelName") String channelName, @PathVariable(name = "pageNum") Integer pageNum,
                                     ModelMap map){
        // 注入主域名与当前二级域名
        map.put("domain", domain);
        map.put("domainBeiJing", domainBeiJing);
        map.put("domainBeiJingUrl", domainBeiJing+"/web/beijing/"+channelName+"/index_");
        // 频道信息数据
        List<String> channelIds = new ArrayList<>();// 文章列表获取参数
        String channelId;// 频道配置获取参数
        switch (channelName){
            case "tzgg":// 北京-通知公告(2401010101)
                channelIds.add("2401010101");
                channelId = "2401010101";
                break;
            case "gzdt":// 北京-工作动态(2401010102)
                channelIds.add("2401010102");
                channelId = "2401010102";
                break;
            case "zfyzb":// 北京-正福易找标(2401010103)
                channelIds.add("2401010103");
                channelId = "2401010103";
                break;
            case "flfg":// 北京-法律法规(2401010104)
                channelIds.add("104010301");
                channelId = "2401010104";
                break;
            case "dffg":// 北京-地方法规(2401010105)
                channelIds.add("2401010105");
                channelId = "2401010105";
                break;
            case "zczq":// 北京-政策专区(2401010106)
                channelIds.add("2401010106");
                channelId = "2401010106";
                break;
            case "tscljg":// 北京-投诉处理结果(2401010107)
                channelIds.add("2401010107");
                channelId = "2401010107";
                break;
            case "jdjccljg":// 北京-监督检查处理结果(2401010108)
                channelIds.add("2401010108");
                channelId = "2401010108";
                break;
            case "gmfw":// 北京-购买服务(2401010109)
                channelIds.add("2401010109");
                channelId = "2401010109";
                break;
            case "bszn":// 北京-办事指南(2401010110)
                channelIds.add("2401010110");
                channelId = "2401010110";
                break;
            default:// 默认取空调全站数据（热搜榜）
                channelIds.add("2401");
                channelId = "2401";
        }
        // 获取频道配置参数
        Channel channel = channelService.getChannelByPlateId(channelId);
        map.put("channel", channel);
        map.put("column", channel.getChannelName());
        // 内容列表数据
        if (null == pageNum) pageNum = 1;
        PageHelper.startPage(pageNum, 12);
        List<ArticleList> articleList = articleMapper.loadArticleByPlates(channelIds);
        // 处理文章标题
        articleList.forEach(item -> {
            ArticleTitle articleTitle = articleTitleMapper.loadArticleTitle(item.getArticleId(), -1);
            if (null != articleTitle){
                item.setArticleTitle(articleTitle.getArticleTitle());
                item.setArticleImage(articleTitle.getArticleImage());
                item.setArticleImageAlt(articleTitle.getArticleImageAlt());
            }
            // 关键字列表处理
            List<ArticleKeyword> articleKeywordList = new ArrayList<>();// 关键词列表(可点击)
            if (!item.getArticleKeyWord().equals("")) {
                String[] articleKeyword = item.getArticleKeyWord().split(",");
                for (String info : articleKeyword) {
                    ArticleKeyword keyword = articleKeywordMapper.selectByPrimaryKey(Integer.valueOf(info));
                    if (null != keyword) {
                        articleKeywordList.add(keyword);
                    }
                }
            }
            item.setArticleKeywordList(articleKeywordList);
        });
        map.put("articleList", new PageInfo<>(articleList));
        return "/web/html/list/beijingList";
    }

    /**
     * 获取福建分站各个栏目列表页更多接口--返回伪静态数据页
     * 前台页面访问地址：fujan.caigou2003.com/web/fujian/tzgg/index_1.html
     * 转发接口地址：api.caigou2003.com/fujian/tzgg/1
     * @param map           数据返回结构
     * @param channelName   需加载数据的栏目ID
     * @param pageNum       页码
     * @return              页面数据
     */
    @RequestMapping(value = "/fujian/{channelName}/{pageNum}", method = RequestMethod.GET)
    public String fujianListRewrite(@PathVariable(name = "channelName") String channelName, @PathVariable(name = "pageNum") Integer pageNum,
                                     ModelMap map){
        // 注入主域名与当前二级域名
        map.put("domain", domain);
        map.put("domainFuJian", domainFuJian);
        map.put("domainFuJianUrl", domainFuJian+"/web/fujian/"+channelName+"/index_");
        // 频道信息数据
        List<String> channelIds = new ArrayList<>();// 文章列表获取参数
        String channelId;// 频道配置获取参数
        switch (channelName){
            case "tzgg":// 福建-通知公告(1201010101)
                channelIds.add("1201010101");
                channelId = "1201010101";
                break;
            case "gzdt":// 福建-工作动态(1201010102)
                channelIds.add("1201010102");
                channelId = "1201010102";
                break;
            case "zfyzb":// 福建-正福易找标(1201010103)
                channelIds.add("1201010103");
                channelId = "1201010103";
                break;
            case "flfg":// 福建-法律法规(1201010104)
                channelIds.add("104010301");
                channelId = "1201010104";
                break;
            case "dffg":// 福建-地方法规(1201010105)
                channelIds.add("1201010105");
                channelId = "1201010105";
                break;
            case "zczq":// 福建-政策专区(1201010106)
                channelIds.add("1201010106");
                channelId = "1201010106";
                break;
            case "zxjdjc":// 福建-专项监督检查(1201010107)
                channelIds.add("1201010107");
                channelId = "1201010107";
                break;
            case "jgxxgg":// 福建-监管信息公告(1201010108)
                channelIds.add("1201010108");
                channelId = "1201010108";
                break;
            case "cjwtjd":// 福建-常见问题解答(1201010109)
                channelIds.add("1201010109");
                channelId = "1201010109";
                break;
            case "wjxz":// 福建-文件下载(1201010110)
                channelIds.add("1201010110");
                channelId = "1201010110";
                break;
            default:// 默认取空调全站数据（热搜榜）
                channelIds.add("1201");
                channelId = "1201";
        }
        // 获取频道配置参数
        Channel channel = channelService.getChannelByPlateId(channelId);
        map.put("channel", channel);
        map.put("column", channel.getChannelName());
        // 内容列表数据
        if (null == pageNum) pageNum = 1;
        PageHelper.startPage(pageNum, 12);
        List<ArticleList> articleList = articleMapper.loadArticleByPlates(channelIds);
        // 处理文章标题
        articleList.forEach(item -> {
            ArticleTitle articleTitle = articleTitleMapper.loadArticleTitle(item.getArticleId(), -1);
            if (null != articleTitle){
                item.setArticleTitle(articleTitle.getArticleTitle());
                item.setArticleImage(articleTitle.getArticleImage());
                item.setArticleImageAlt(articleTitle.getArticleImageAlt());
            }
            // 关键字列表处理
            List<ArticleKeyword> articleKeywordList = new ArrayList<>();// 关键词列表(可点击)
            if (!item.getArticleKeyWord().equals("")) {
                String[] articleKeyword = item.getArticleKeyWord().split(",");
                for (String info : articleKeyword) {
                    ArticleKeyword keyword = articleKeywordMapper.selectByPrimaryKey(Integer.valueOf(info));
                    if (null != keyword) {
                        articleKeywordList.add(keyword);
                    }
                }
            }
            item.setArticleKeywordList(articleKeywordList);
        });
        map.put("articleList", new PageInfo<>(articleList));
        return "/web/html/list/fujianList";
    }

    /**
     * 获取贵州分站各个栏目列表页更多接口--返回伪静态数据页
     * 前台页面访问地址：guizhou.caigou2003.com/web/guizhou/tzgg/index_1.html
     * 转发接口地址：api.caigou2003.com/guizhou/tzgg/1
     * @param map           数据返回结构
     * @param channelName   需加载数据的栏目ID
     * @param pageNum       页码
     * @return              页面数据
     */
    @RequestMapping(value = "/guizhou/{channelName}/{pageNum}", method = RequestMethod.GET)
    public String guizhouListRewrite(@PathVariable(name = "channelName") String channelName, @PathVariable(name = "pageNum") Integer pageNum,
                                    ModelMap map){
        // 注入主域名与当前二级域名
        map.put("domain", domain);
        map.put("domainGuiZhou", domainGuiZhou);
        map.put("domainGuiZhouUrl", domainGuiZhou+"/web/guizhou/"+channelName+"/index_");
        // 频道信息数据
        List<String> channelIds = new ArrayList<>();// 文章列表获取参数
        String channelId;// 频道配置获取参数
        switch (channelName){
            case "tzgg":// 贵州-通知公告(1901010101)
                channelIds.add("1901010101");
                channelId = "1901010101";
                break;
            case "gzdt":// 贵州-工作动态(1901010102)
                channelIds.add("1901010102");
                channelId = "1901010102";
                break;
            case "zfyzb":// 贵州-正福易找标(1901010103)
                channelIds.add("1901010103");
                channelId = "1901010103";
                break;
            case "flfg":// 贵州-法律法规(1901010104)
                channelIds.add("104010301");
                channelId = "1901010104";
                break;
            case "dffg":// 贵州-地方法规(1901010105)
                channelIds.add("1901010105");
                channelId = "1901010105";
                break;
            case "zczq":// 贵州-政策专区(1901010106)
                channelIds.add("1901010106");
                channelId = "1901010106";
                break;
            case "tscljg":// 贵州-投诉处理结果(1901010107)
                channelIds.add("1901010107");
                channelId = "1901010107";
                break;
            case "jdjccljg":// 贵州-监督检查处理结果(1901010108)
                channelIds.add("1901010108");
                channelId = "1901010108";
                break;
            case "gmfw":// 贵州-购买服务(1901010109)
                channelIds.add("1901010109");
                channelId = "1901010109";
                break;
            default:// 默认取空调全站数据（热搜榜）
                channelIds.add("1901");
                channelId = "1901";
        }
        // 获取频道配置参数
        Channel channel = channelService.getChannelByPlateId(channelId);
        map.put("channel", channel);
        map.put("column", channel.getChannelName());
        // 内容列表数据
        if (null == pageNum) pageNum = 1;
        PageHelper.startPage(pageNum, 12);
        List<ArticleList> articleList = articleMapper.loadArticleByPlates(channelIds);
        // 处理文章标题
        articleList.forEach(item -> {
            ArticleTitle articleTitle = articleTitleMapper.loadArticleTitle(item.getArticleId(), -1);
            if (null != articleTitle){
                item.setArticleTitle(articleTitle.getArticleTitle());
                item.setArticleImage(articleTitle.getArticleImage());
                item.setArticleImageAlt(articleTitle.getArticleImageAlt());
            }
            // 关键字列表处理
            List<ArticleKeyword> articleKeywordList = new ArrayList<>();// 关键词列表(可点击)
            if (!item.getArticleKeyWord().equals("")) {
                String[] articleKeyword = item.getArticleKeyWord().split(",");
                for (String info : articleKeyword) {
                    ArticleKeyword keyword = articleKeywordMapper.selectByPrimaryKey(Integer.valueOf(info));
                    if (null != keyword) {
                        articleKeywordList.add(keyword);
                    }
                }
            }
            item.setArticleKeywordList(articleKeywordList);
        });
        map.put("articleList", new PageInfo<>(articleList));
        return "/web/html/list/guizhouList";
    }

    /**
     * 获取海南分站各个栏目列表页更多接口--返回伪静态数据页
     * 前台页面访问地址：hainan.caigou2003.com/web/hainan/tzgg/index_1.html
     * 转发接口地址：api.caigou2003.com/hainan/tzgg/1
     * @param map           数据返回结构
     * @param channelName   需加载数据的栏目ID
     * @param pageNum       页码
     * @return              页面数据
     */
    @RequestMapping(value = "/hainan/{channelName}/{pageNum}", method = RequestMethod.GET)
    public String hainanListRewrite(@PathVariable(name = "channelName") String channelName, @PathVariable(name = "pageNum") Integer pageNum,
                                     ModelMap map){
        // 注入主域名与当前二级域名
        map.put("domain", domain);
        map.put("domainHaiNan", domainHaiNan);
        map.put("domainHaiNanUrl", domainHaiNan+"/web/hainan/"+channelName+"/index_");
        // 频道信息数据
        List<String> channelIds = new ArrayList<>();// 文章列表获取参数
        String channelId;// 频道配置获取参数
        switch (channelName){
            case "tzgg":// 海南-通知公告(1701010101)
                channelIds.add("1701010101");
                channelId = "1701010101";
                break;
            case "gzdt":// 海南-工作动态(1701010102)
                channelIds.add("1701010102");
                channelId = "1701010102";
                break;
            case "zfyzb":// 海南-正福易找标(1701010103)
                channelIds.add("1701010103");
                channelId = "1701010103";
                break;
            case "flfg":// 海南-法律法规(1701010104)
                channelIds.add("104010301");
                channelId = "1701010104";
                break;
            case "dffg":// 海南-地方法规(1701010105)
                channelIds.add("1701010105");
                channelId = "1701010105";
                break;
            case "zczq":// 海南-政策专区(1701010106)
                channelIds.add("1701010106");
                channelId = "1701010106";
                break;
            case "tscljg":// 海南-投诉处理结果(1701010107)
                channelIds.add("1701010107");
                channelId = "1701010107";
                break;
            case "jdjccljg":// 海南-监督检查处理结果(1701010108)
                channelIds.add("1701010108");
                channelId = "1701010108";
                break;
            case "jzgjgkhjg":// 海南-集中采购机构考核结果(1701010109)
                channelIds.add("1701010109");
                channelId = "1701010109";
                break;
            case "tslxfs":// 海南-投诉联系方式(1701010110)
                channelIds.add("1701010110");
                channelId = "1701010110";
                break;
            case "gmfw":// 海南-购买服务(1701010111)
                channelIds.add("1701010111");
                channelId = "1701010111";
                break;
            case "bszn":// 海南-办事指南(1701010112)
                channelIds.add("1701010112");
                channelId = "1701010112";
                break;
            case "cjwtjd":// 海南-常见问题解答(1701010113)
                channelIds.add("1701010113");
                channelId = "1701010113";
                break;
            default:// 默认取空调全站数据（热搜榜）
                channelIds.add("1701");
                channelId = "1701";
        }
        // 获取频道配置参数
        Channel channel = channelService.getChannelByPlateId(channelId);
        map.put("channel", channel);
        map.put("column", channel.getChannelName());
        // 内容列表数据
        if (null == pageNum) pageNum = 1;
        PageHelper.startPage(pageNum, 12);
        List<ArticleList> articleList = articleMapper.loadArticleByPlates(channelIds);
        // 处理文章标题
        articleList.forEach(item -> {
            ArticleTitle articleTitle = articleTitleMapper.loadArticleTitle(item.getArticleId(), -1);
            if (null != articleTitle){
                item.setArticleTitle(articleTitle.getArticleTitle());
                item.setArticleImage(articleTitle.getArticleImage());
                item.setArticleImageAlt(articleTitle.getArticleImageAlt());
            }
            // 关键字列表处理
            List<ArticleKeyword> articleKeywordList = new ArrayList<>();// 关键词列表(可点击)
            if (!item.getArticleKeyWord().equals("")) {
                String[] articleKeyword = item.getArticleKeyWord().split(",");
                for (String info : articleKeyword) {
                    ArticleKeyword keyword = articleKeywordMapper.selectByPrimaryKey(Integer.valueOf(info));
                    if (null != keyword) {
                        articleKeywordList.add(keyword);
                    }
                }
            }
            item.setArticleKeywordList(articleKeywordList);
        });
        map.put("articleList", new PageInfo<>(articleList));
        return "/web/html/list/hainanList";
    }

    /**
     * 获取河北分站各个栏目列表页更多接口--返回伪静态数据页
     * 前台页面访问地址：hebei.caigou2003.com/web/hebei/tzgg/index_1.html
     * 转发接口地址：api.caigou2003.com/hebei/tzgg/1
     * @param map           数据返回结构
     * @param channelName   需加载数据的栏目ID
     * @param pageNum       页码
     * @return              页面数据
     */
    @RequestMapping(value = "/hebei/{channelName}/{pageNum}", method = RequestMethod.GET)
    public String hebeiListRewrite(@PathVariable(name = "channelName") String channelName, @PathVariable(name = "pageNum") Integer pageNum,
                                    ModelMap map){
        // 注入主域名与当前二级域名
        map.put("domain", domain);
        map.put("domainHeBei", domainHeBei);
        map.put("domainHeBeiUrl", domainHeBei+"/web/hebei/"+channelName+"/index_");
        // 频道信息数据
        List<String> channelIds = new ArrayList<>();// 文章列表获取参数
        String channelId;// 频道配置获取参数
        switch (channelName){
            case "tzgg":// 河北-通知公告(201010101)
                channelIds.add("201010101");
                channelId = "201010101";
                break;
            case "xyghplcg":// 河北-协议供货批量采购(201010102)
                channelIds.add("201010102");
                channelId = "201010102";
                break;
            case "zfyzb":// 河北-正福易找标(201010103)
                channelIds.add("201010103");
                channelId = "201010103";
                break;
            case "flfg":// 河北-法律法规(201010104)
                channelIds.add("104010301");
                channelId = "201010104";
                break;
            case "dffg":// 河北-地方法规(201010105)
                channelIds.add("201010105");
                channelId = "201010105";
                break;
            case "jdjccljg":// 河北-监督检查处理结果(201010106)
                channelIds.add("201010106");
                channelId = "201010106";
                break;
            case "tscljg":// 河北-投诉处理结果(201010107)
                channelIds.add("201010107");
                channelId = "201010107";
                break;
            case "bszn":// 河北-办事指南(201010108)
                channelIds.add("201010108");
                channelId = "201010108";
                break;
            case "cjwtjd":// 河北-常见问题解答(201010109)
                channelIds.add("201010109");
                channelId = "201010109";
                break;
            case "wjxz":// 河北-文件下载(201010110)
                channelIds.add("201010110");
                channelId = "201010110";
                break;
            default:// 默认取空调全站数据（热搜榜）
                channelIds.add("201");
                channelId = "201";
        }
        // 获取频道配置参数
        Channel channel = channelService.getChannelByPlateId(channelId);
        map.put("channel", channel);
        map.put("column", channel.getChannelName());
        // 内容列表数据
        if (null == pageNum) pageNum = 1;
        PageHelper.startPage(pageNum, 12);
        List<ArticleList> articleList = articleMapper.loadArticleByPlates(channelIds);
        // 处理文章标题
        articleList.forEach(item -> {
            ArticleTitle articleTitle = articleTitleMapper.loadArticleTitle(item.getArticleId(), -1);
            if (null != articleTitle){
                item.setArticleTitle(articleTitle.getArticleTitle());
                item.setArticleImage(articleTitle.getArticleImage());
                item.setArticleImageAlt(articleTitle.getArticleImageAlt());
            }
            // 关键字列表处理
            List<ArticleKeyword> articleKeywordList = new ArrayList<>();// 关键词列表(可点击)
            if (!item.getArticleKeyWord().equals("")) {
                String[] articleKeyword = item.getArticleKeyWord().split(",");
                for (String info : articleKeyword) {
                    ArticleKeyword keyword = articleKeywordMapper.selectByPrimaryKey(Integer.valueOf(info));
                    if (null != keyword) {
                        articleKeywordList.add(keyword);
                    }
                }
            }
            item.setArticleKeywordList(articleKeywordList);
        });
        map.put("articleList", new PageInfo<>(articleList));
        return "/web/html/list/hebeiList";
    }

    /**
     * 获取河南分站各个栏目列表页更多接口--返回伪静态数据页
     * 前台页面访问地址：henan.caigou2003.com/web/henan/tzgg/index_1.html
     * 转发接口地址：api.caigou2003.com/henan/tzgg/1
     * @param map           数据返回结构
     * @param channelName   需加载数据的栏目ID
     * @param pageNum       页码
     * @return              页面数据
     */
    @RequestMapping(value = "/henan/{channelName}/{pageNum}", method = RequestMethod.GET)
    public String henanListRewrite(@PathVariable(name = "channelName") String channelName, @PathVariable(name = "pageNum") Integer pageNum,
                                   ModelMap map){
        // 注入主域名与当前二级域名
        map.put("domain", domain);
        map.put("domainHeNan", domainHeNan);
        map.put("domainHeNanUrl", domainHeNan+"/web/henan/"+channelName+"/index_");
        // 频道信息数据
        List<String> channelIds = new ArrayList<>();// 文章列表获取参数
        String channelId;// 频道配置获取参数
        switch (channelName){
            case "tzgg":// 河南-通知公告(301010101)
                channelIds.add("301010101");
                channelId = "301010101";
                break;
            case "gzdt":// 河南-工作动态(301010102)
                channelIds.add("301010102");
                channelId = "301010102";
                break;
            case "zfyzb":// 河南-正福易找标(301010103)
                channelIds.add("301010103");
                channelId = "301010103";
                break;
            case "flfg":// 河南-法律法规(301010104)
                channelIds.add("104010301");
                channelId = "301010104";
                break;
            case "dffg":// 河南-地方法规(301010105)
                channelIds.add("301010105");
                channelId = "301010105";
                break;
            case "zczq":// 河南-政策专区(301010106)
                channelIds.add("301010106");
                channelId = "301010106";
                break;
            case "tscljg":// 河南-投诉处理结果(301010107)
                channelIds.add("301010107");
                channelId = "301010107";
                break;
            case "jdjccljg":// 河南-监督检查处理结果(301010108)
                channelIds.add("301010108");
                channelId = "301010108";
                break;
            case "jzcgjgkhjg":// 河南-集中采购机构考核结果(301010109)
                channelIds.add("301010109");
                channelId = "301010109";
                break;
            case "gmfw":// 河南-购买服务(301010110)
                channelIds.add("301010110");
                channelId = "301010110";
                break;
            case "bszn":// 河南-办事指南(301010111)
                channelIds.add("301010111");
                channelId = "301010111";
                break;
            case "wjxz":// 河南-文件下载(301010112)
                channelIds.add("301010112");
                channelId = "301010112";
                break;
            default:// 默认取空调全站数据（热搜榜）
                channelIds.add("301");
                channelId = "301";
        }
        // 获取频道配置参数
        Channel channel = channelService.getChannelByPlateId(channelId);
        map.put("channel", channel);
        map.put("column", channel.getChannelName());
        // 内容列表数据
        if (null == pageNum) pageNum = 1;
        PageHelper.startPage(pageNum, 12);
        List<ArticleList> articleList = articleMapper.loadArticleByPlates(channelIds);
        // 处理文章标题
        articleList.forEach(item -> {
            ArticleTitle articleTitle = articleTitleMapper.loadArticleTitle(item.getArticleId(), -1);
            if (null != articleTitle){
                item.setArticleTitle(articleTitle.getArticleTitle());
                item.setArticleImage(articleTitle.getArticleImage());
                item.setArticleImageAlt(articleTitle.getArticleImageAlt());
            }
            // 关键字列表处理
            List<ArticleKeyword> articleKeywordList = new ArrayList<>();// 关键词列表(可点击)
            if (!item.getArticleKeyWord().equals("")) {
                String[] articleKeyword = item.getArticleKeyWord().split(",");
                for (String info : articleKeyword) {
                    ArticleKeyword keyword = articleKeywordMapper.selectByPrimaryKey(Integer.valueOf(info));
                    if (null != keyword) {
                        articleKeywordList.add(keyword);
                    }
                }
            }
            item.setArticleKeywordList(articleKeywordList);
        });
        map.put("articleList", new PageInfo<>(articleList));
        return "/web/html/list/henanList";
    }

    /**
     * 获取湖北分站各个栏目列表页更多接口--返回伪静态数据页
     * 前台页面访问地址：hubei.caigou2003.com/web/hubei/tzgg/index_1.html
     * 转发接口地址：api.caigou2003.com/hubei/tzgg/1
     * @param map           数据返回结构
     * @param channelName   需加载数据的栏目ID
     * @param pageNum       页码
     * @return              页面数据
     */
    @RequestMapping(value = "/hubei/{channelName}/{pageNum}", method = RequestMethod.GET)
    public String hubeiListRewrite(@PathVariable(name = "channelName") String channelName, @PathVariable(name = "pageNum") Integer pageNum,
                                   ModelMap map){
        // 注入主域名与当前二级域名
        map.put("domain", domain);
        map.put("domainHuBei", domainHuBei);
        map.put("domainHuBeiUrl", domainHuBei+"/web/hubei/"+channelName+"/index_");
        // 频道信息数据
        List<String> channelIds = new ArrayList<>();// 文章列表获取参数
        String channelId;// 频道配置获取参数
        switch (channelName){
            case "tzgg":// 湖北-通知公告(1401010101)
                channelIds.add("1401010101");
                channelId = "1401010101";
                break;
            case "gzdt":// 湖北-工作动态(1401010102)
                channelIds.add("1401010102");
                channelId = "1401010102";
                break;
            case "zfyzb":// 湖北-正福易找标(1401010103)
                channelIds.add("1401010103");
                channelId = "1401010103";
                break;
            case "flfg":// 湖北-法律法规(1401010104)
                channelIds.add("104010301");
                channelId = "1401010104";
                break;
            case "dffg":// 湖北-地方法规(1401010105)
                channelIds.add("1401010105");
                channelId = "1401010105";
                break;
            case "tscljg":// 湖北-投诉处理结果(1401010106)
                channelIds.add("1401010106");
                channelId = "1401010106";
                break;
            case "jdjccljg":// 湖北-监督检查处理结果(1401010107)
                channelIds.add("1401010107");
                channelId = "1401010107";
                break;
            case "jzcgjgkhjg":// 湖北-集中采购机构考核结果(1401010108)
                channelIds.add("1401010108");
                channelId = "1401010108";
                break;
            case "ybclcfgg":// 湖北-一般处理处罚公告(1401010109)
                channelIds.add("1401010109");
                channelId = "1401010109";
                break;
            case "yzwfsxgg":// 湖北-严重违法失信公告(1401010110)
                channelIds.add("1401010110");
                channelId = "1401010110";
                break;
            case "gmfw":// 湖北-购买服务(1401010111)
                channelIds.add("1401010111");
                channelId = "1401010111";
                break;
            case "bszn":// 湖北-办事指南(1401010112)
                channelIds.add("1401010112");
                channelId = "1401010112";
                break;
            case "cjwtjd":// 湖北-常见问题解答(1401010113)
                channelIds.add("1401010113");
                channelId = "1401010113";
                break;
            case "wjxz":// 湖北-文件下载(1401010114)
                channelIds.add("1401010114");
                channelId = "1401010114";
                break;
            default:// 默认取空调全站数据（热搜榜）
                channelIds.add("1401");
                channelId = "1401";
        }
        // 获取频道配置参数
        Channel channel = channelService.getChannelByPlateId(channelId);
        map.put("channel", channel);
        map.put("column", channel.getChannelName());
        // 内容列表数据
        if (null == pageNum) pageNum = 1;
        PageHelper.startPage(pageNum, 12);
        List<ArticleList> articleList = articleMapper.loadArticleByPlates(channelIds);
        // 处理文章标题
        articleList.forEach(item -> {
            ArticleTitle articleTitle = articleTitleMapper.loadArticleTitle(item.getArticleId(), -1);
            if (null != articleTitle){
                item.setArticleTitle(articleTitle.getArticleTitle());
                item.setArticleImage(articleTitle.getArticleImage());
                item.setArticleImageAlt(articleTitle.getArticleImageAlt());
            }
            // 关键字列表处理
            List<ArticleKeyword> articleKeywordList = new ArrayList<>();// 关键词列表(可点击)
            if (!item.getArticleKeyWord().equals("")) {
                String[] articleKeyword = item.getArticleKeyWord().split(",");
                for (String info : articleKeyword) {
                    ArticleKeyword keyword = articleKeywordMapper.selectByPrimaryKey(Integer.valueOf(info));
                    if (null != keyword) {
                        articleKeywordList.add(keyword);
                    }
                }
            }
            item.setArticleKeywordList(articleKeywordList);
        });
        map.put("articleList", new PageInfo<>(articleList));
        return "/web/html/list/hubeiList";
    }

    /**
     * 获取江苏分站各个栏目列表页更多接口--返回伪静态数据页
     * 前台页面访问地址：jiangsu.caigou2003.com/web/jiangsu/tzgg/index_1.html
     * 转发接口地址：api.caigou2003.com/jiangsu/tzgg/1
     * @param map           数据返回结构
     * @param channelName   需加载数据的栏目ID
     * @param pageNum       页码
     * @return              页面数据
     */
    @RequestMapping(value = "/jiangsu/{channelName}/{pageNum}", method = RequestMethod.GET)
    public String jiangsuListRewrite(@PathVariable(name = "channelName") String channelName, @PathVariable(name = "pageNum") Integer pageNum,
                                   ModelMap map){
        // 注入主域名与当前二级域名
        map.put("domain", domain);
        map.put("domainJiangSu", domainJiangSu);
        map.put("domainJiangSuUrl", domainJiangSu+"/web/jiangsu/"+channelName+"/index_");
        // 频道信息数据
        List<String> channelIds = new ArrayList<>();// 文章列表获取参数
        String channelId;// 频道配置获取参数
        switch (channelName){
            case "tzgg":// 江苏-通知公告(901010101)
                channelIds.add("901010101");
                channelId = "901010101";
                break;
            case "gzdt":// 江苏-工作动态(901010102)
                channelIds.add("901010102");
                channelId = "901010102";
                break;
            case "zfyzb":// 江苏-正福易找标(901010103)
                channelIds.add("901010103");
                channelId = "901010103";
                break;
            case "flfg":// 江苏-法律法规(901010104)
                channelIds.add("104010301");
                channelId = "901010104";
                break;
            case "dffg":// 江苏-地方法规(901010105)
                channelIds.add("901010105");
                channelId = "901010105";
                break;
            case "tscljg":// 江苏-投诉处理结果(901010106)
                channelIds.add("901010106");
                channelId = "901010106";
                break;
            case "jdjccljg":// 江苏-监督检查处理结果(901010107)
                channelIds.add("901010107");
                channelId = "901010107";
                break;
            case "yzwfsxgg":// 江苏-严重违法失信公告(901010108)
                channelIds.add("901010108");
                channelId = "901010108";
                break;
            case "gmfw":// 江苏-购买服务(901010109)
                channelIds.add("901010109");
                channelId = "901010109";
                break;
            case "bszn":// 江苏-办事指南(901010110)
                channelIds.add("901010110");
                channelId = "901010110";
                break;
            case "cgml":// 江苏-采购目录(901010111)
                channelIds.add("901010111");
                channelId = "901010111";
                break;
            case "wjxz":// 江苏-文件下载(901010112)
                channelIds.add("901010112");
                channelId = "901010112";
                break;
            default:// 默认取空调全站数据（热搜榜）
                channelIds.add("901");
                channelId = "901";
        }
        // 获取频道配置参数
        Channel channel = channelService.getChannelByPlateId(channelId);
        map.put("channel", channel);
        map.put("column", channel.getChannelName());
        // 内容列表数据
        if (null == pageNum) pageNum = 1;
        PageHelper.startPage(pageNum, 12);
        List<ArticleList> articleList = articleMapper.loadArticleByPlates(channelIds);
        // 处理文章标题
        articleList.forEach(item -> {
            ArticleTitle articleTitle = articleTitleMapper.loadArticleTitle(item.getArticleId(), -1);
            if (null != articleTitle){
                item.setArticleTitle(articleTitle.getArticleTitle());
                item.setArticleImage(articleTitle.getArticleImage());
                item.setArticleImageAlt(articleTitle.getArticleImageAlt());
            }
            // 关键字列表处理
            List<ArticleKeyword> articleKeywordList = new ArrayList<>();// 关键词列表(可点击)
            if (!item.getArticleKeyWord().equals("")) {
                String[] articleKeyword = item.getArticleKeyWord().split(",");
                for (String info : articleKeyword) {
                    ArticleKeyword keyword = articleKeywordMapper.selectByPrimaryKey(Integer.valueOf(info));
                    if (null != keyword) {
                        articleKeywordList.add(keyword);
                    }
                }
            }
            item.setArticleKeywordList(articleKeywordList);
        });
        map.put("articleList", new PageInfo<>(articleList));
        return "/web/html/list/jiangsuList";
    }

    /**
     * 获取辽宁分站各个栏目列表页更多接口--返回伪静态数据页
     * 前台页面访问地址：liaoning.caigou2003.com/web/liaoning/tzgg/index_1.html
     * 转发接口地址：api.caigou2003.com/liaoning/tzgg/1
     * @param map           数据返回结构
     * @param channelName   需加载数据的栏目ID
     * @param pageNum       页码
     * @return              页面数据
     */
    @RequestMapping(value = "/liaoning/{channelName}/{pageNum}", method = RequestMethod.GET)
    public String liaoningListRewrite(@PathVariable(name = "channelName") String channelName, @PathVariable(name = "pageNum") Integer pageNum,
                                     ModelMap map){
        // 注入主域名与当前二级域名
        map.put("domain", domain);
        map.put("domainLiaoNing", domainLiaoNing);
        map.put("domainLiaoNingUrl", domainLiaoNing+"/web/liaoning/"+channelName+"/index_");
        // 频道信息数据
        List<String> channelIds = new ArrayList<>();// 文章列表获取参数
        String channelId;// 频道配置获取参数
        switch (channelName){
            case "tzgg":// 辽宁-通知公告(601010101)
                channelIds.add("601010101");
                channelId = "601010101";
                break;
            case "gzdt":// 辽宁-工作动态(601010102)
                channelIds.add("601010102");
                channelId = "601010102";
                break;
            case "zfyzb":// 辽宁-正福易找标(601010103)
                channelIds.add("601010103");
                channelId = "601010103";
                break;
            case "flfg":// 辽宁-法律法规(601010104)
                channelIds.add("104010301");
                channelId = "601010104";
                break;
            case "dffg":// 辽宁-地方法规(601010105)
                channelIds.add("601010105");
                channelId = "601010105";
                break;
            case "tscljg":// 辽宁-投诉处理结果(601010106)
                channelIds.add("601010106");
                channelId = "601010106";
                break;
            case "jdjccljg":// 辽宁-监督检查处理结果(601010107)
                channelIds.add("601010107");
                channelId = "601010107";
                break;
            case "blxw":// 辽宁-不良行为(601010108)
                channelIds.add("601010108");
                channelId = "601010108";
                break;
            case "gmfw":// 辽宁-购买服务(601010109)
                channelIds.add("601010109");
                channelId = "601010109";
                break;
            case "bszn":// 辽宁-办事指南(601010110)
                channelIds.add("601010110");
                channelId = "601010110";
                break;
            case "cjwtjd":// 辽宁-常见问题解答(601010111)
                channelIds.add("601010111");
                channelId = "601010111";
                break;
            case "wjxz":// 江苏-文件下载(601010112)
                channelIds.add("601010112");
                channelId = "601010112";
                break;
            default:// 默认取空调全站数据（热搜榜）
                channelIds.add("601");
                channelId = "601";
        }
        // 获取频道配置参数
        Channel channel = channelService.getChannelByPlateId(channelId);
        map.put("channel", channel);
        map.put("column", channel.getChannelName());
        // 内容列表数据
        if (null == pageNum) pageNum = 1;
        PageHelper.startPage(pageNum, 12);
        List<ArticleList> articleList = articleMapper.loadArticleByPlates(channelIds);
        // 处理文章标题
        articleList.forEach(item -> {
            ArticleTitle articleTitle = articleTitleMapper.loadArticleTitle(item.getArticleId(), -1);
            if (null != articleTitle){
                item.setArticleTitle(articleTitle.getArticleTitle());
                item.setArticleImage(articleTitle.getArticleImage());
                item.setArticleImageAlt(articleTitle.getArticleImageAlt());
            }
            // 关键字列表处理
            List<ArticleKeyword> articleKeywordList = new ArrayList<>();// 关键词列表(可点击)
            if (!item.getArticleKeyWord().equals("")) {
                String[] articleKeyword = item.getArticleKeyWord().split(",");
                for (String info : articleKeyword) {
                    ArticleKeyword keyword = articleKeywordMapper.selectByPrimaryKey(Integer.valueOf(info));
                    if (null != keyword) {
                        articleKeywordList.add(keyword);
                    }
                }
            }
            item.setArticleKeywordList(articleKeywordList);
        });
        map.put("articleList", new PageInfo<>(articleList));
        return "/web/html/list/liaoningList";
    }

    /**
     * 获取山东分站各个栏目列表页更多接口--返回伪静态数据页
     * 前台页面访问地址：shandong.caigou2003.com/web/shandong/tzgg/index_1.html
     * 转发接口地址：api.caigou2003.com/shandong/tzgg/1
     * @param map           数据返回结构
     * @param channelName   需加载数据的栏目ID
     * @param pageNum       页码
     * @return              页面数据
     */
    @RequestMapping(value = "/shandong/{channelName}/{pageNum}", method = RequestMethod.GET)
    public String shandongListRewrite(@PathVariable(name = "channelName") String channelName, @PathVariable(name = "pageNum") Integer pageNum,
                                      ModelMap map){
        // 注入主域名与当前二级域名
        map.put("domain", domain);
        map.put("domainShanDong", domainShanDong);
        map.put("domainShanDongUrl", domainShanDong+"/web/shandong/"+channelName+"/index_");
        // 频道信息数据
        List<String> channelIds = new ArrayList<>();// 文章列表获取参数
        String channelId;// 频道配置获取参数
        switch (channelName){
            case "tzgg":// 山东-通知公告(401010101)
                channelIds.add("401010101");
                channelId = "401010101";
                break;
            case "gzdt":// 山东-工作动态(401010102)
                channelIds.add("401010102");
                channelId = "401010102";
                break;
            case "zfyzb":// 山东-正福易找标(401010103)
                channelIds.add("401010103");
                channelId = "401010103";
                break;
            case "flfg":// 山东-法律法规(401010104)
                channelIds.add("104010301");
                channelId = "401010104";
                break;
            case "dffg":// 山东-地方法规(401010105)
                channelIds.add("401010105");
                channelId = "401010105";
                break;
            case "tscljg":// 山东-投诉处理结果(401010106)
                channelIds.add("401010106");
                channelId = "401010106";
                break;
            case "jdjccljg":// 山东-监督检查处理结果(401010107)
                channelIds.add("401010107");
                channelId = "401010107";
                break;
            case "gmfw":// 山东-购买服务(401010108)
                channelIds.add("401010108");
                channelId = "401010108";
                break;
            case "wjxz":// 山东-文件下载(401010109)
                channelIds.add("401010109");
                channelId = "401010109";
                break;
            case "cgml":// 山东-采购目录(401010110)
                channelIds.add("401010110");
                channelId = "401010110";
                break;
            default:// 默认取空调全站数据（热搜榜）
                channelIds.add("401");
                channelId = "401";
        }
        // 获取频道配置参数
        Channel channel = channelService.getChannelByPlateId(channelId);
        map.put("channel", channel);
        map.put("column", channel.getChannelName());
        // 内容列表数据
        if (null == pageNum) pageNum = 1;
        PageHelper.startPage(pageNum, 12);
        List<ArticleList> articleList = articleMapper.loadArticleByPlates(channelIds);
        // 处理文章标题
        articleList.forEach(item -> {
            ArticleTitle articleTitle = articleTitleMapper.loadArticleTitle(item.getArticleId(), -1);
            if (null != articleTitle){
                item.setArticleTitle(articleTitle.getArticleTitle());
                item.setArticleImage(articleTitle.getArticleImage());
                item.setArticleImageAlt(articleTitle.getArticleImageAlt());
            }
            // 关键字列表处理
            List<ArticleKeyword> articleKeywordList = new ArrayList<>();// 关键词列表(可点击)
            if (!item.getArticleKeyWord().equals("")) {
                String[] articleKeyword = item.getArticleKeyWord().split(",");
                for (String info : articleKeyword) {
                    ArticleKeyword keyword = articleKeywordMapper.selectByPrimaryKey(Integer.valueOf(info));
                    if (null != keyword) {
                        articleKeywordList.add(keyword);
                    }
                }
            }
            item.setArticleKeywordList(articleKeywordList);
        });
        map.put("articleList", new PageInfo<>(articleList));
        return "/web/html/list/shandongList";
    }

    /**
     * 获取陕西分站各个栏目列表页更多接口--返回伪静态数据页
     * 前台页面访问地址：shaanxi.caigou2003.com/web/shaanxi/tzgg/index_1.html
     * 转发接口地址：api.caigou2003.com/shaanxi/tzgg/1
     * @param map           数据返回结构
     * @param channelName   需加载数据的栏目ID
     * @param pageNum       页码
     * @return              页面数据
     */
    @RequestMapping(value = "/shaanxi/{channelName}/{pageNum}", method = RequestMethod.GET)
    public String shaanxiListRewrite(@PathVariable(name = "channelName") String channelName, @PathVariable(name = "pageNum") Integer pageNum,
                                      ModelMap map){
        // 注入主域名与当前二级域名
        map.put("domain", domain);
        map.put("domainShaanXi", domainShaanXi);
        map.put("domainShaanXiUrl", domainShaanXi+"/web/shaanxi/"+channelName+"/index_");
        // 频道信息数据
        List<String> channelIds = new ArrayList<>();// 文章列表获取参数
        String channelId;// 频道配置获取参数
        switch (channelName){
            case "tzgg":// 陕西-通知公告(2101010101)
                channelIds.add("2101010101");
                channelId = "2101010101";
                break;
            case "gzdt":// 陕西-工作动态(2101010102)
                channelIds.add("2101010102");
                channelId = "2101010102";
                break;
            case "zfyzb":// 陕西-正福易找标(2101010103)
                channelIds.add("2101010103");
                channelId = "2101010103";
                break;
            case "flfg":// 陕西-法律法规(2101010104)
                channelIds.add("104010301");
                channelId = "2101010104";
                break;
            case "dffg":// 陕西-地方法规(2101010105)
                channelIds.add("2101010105");
                channelId = "2101010105";
                break;
            case "zczq":// 陕西-政策专区(2101010106)
                channelIds.add("2101010106");
                channelId = "2101010106";
                break;
            case "tscljg":// 陕西-投诉处理结果(2101010107)
                channelIds.add("2101010107");
                channelId = "2101010107";
                break;
            case "jdjccljg":// 陕西-监督检查处理结果(2101010108)
                channelIds.add("2101010108");
                channelId = "2101010108";
                break;
            case "jzcgjgkhjg":// 陕西-集中采购机构考核结果(2101010109)
                channelIds.add("2101010109");
                channelId = "2101010109";
                break;
            case "gmfw":// 陕西-购买服务(2101010110)
                channelIds.add("2101010110");
                channelId = "2101010110";
                break;
            case "bszn":// 陕西-办事指南(2101010111)
                channelIds.add("2101010111");
                channelId = "2101010111";
                break;
            default:// 默认取空调全站数据（热搜榜）
                channelIds.add("2101");
                channelId = "2101";
        }
        // 获取频道配置参数
        Channel channel = channelService.getChannelByPlateId(channelId);
        map.put("channel", channel);
        map.put("column", channel.getChannelName());
        // 内容列表数据
        if (null == pageNum) pageNum = 1;
        PageHelper.startPage(pageNum, 12);
        List<ArticleList> articleList = articleMapper.loadArticleByPlates(channelIds);
        // 处理文章标题
        articleList.forEach(item -> {
            ArticleTitle articleTitle = articleTitleMapper.loadArticleTitle(item.getArticleId(), -1);
            if (null != articleTitle){
                item.setArticleTitle(articleTitle.getArticleTitle());
                item.setArticleImage(articleTitle.getArticleImage());
                item.setArticleImageAlt(articleTitle.getArticleImageAlt());
            }
            // 关键字列表处理
            List<ArticleKeyword> articleKeywordList = new ArrayList<>();// 关键词列表(可点击)
            if (!item.getArticleKeyWord().equals("")) {
                String[] articleKeyword = item.getArticleKeyWord().split(",");
                for (String info : articleKeyword) {
                    ArticleKeyword keyword = articleKeywordMapper.selectByPrimaryKey(Integer.valueOf(info));
                    if (null != keyword) {
                        articleKeywordList.add(keyword);
                    }
                }
            }
            item.setArticleKeywordList(articleKeywordList);
        });
        map.put("articleList", new PageInfo<>(articleList));
        return "/web/html/list/shaanxiList";
    }

    /**
     * 获取天津分站各个栏目列表页更多接口--返回伪静态数据页
     * 前台页面访问地址：tianjin.caigou2003.com/web/tianjin/tzgg/index_1.html
     * 转发接口地址：api.caigou2003.com/tianjin/tzgg/1
     * @param map           数据返回结构
     * @param channelName   需加载数据的栏目ID
     * @param pageNum       页码
     * @return              页面数据
     */
    @RequestMapping(value = "/tianjin/{channelName}/{pageNum}", method = RequestMethod.GET)
    public String tianjinListRewrite(@PathVariable(name = "channelName") String channelName, @PathVariable(name = "pageNum") Integer pageNum,
                                     ModelMap map){
        // 注入主域名与当前二级域名
        map.put("domain", domain);
        map.put("domainTianJin", domainTianJin);
        map.put("domainTianJinUrl", domainTianJin+"/web/tianjin/"+channelName+"/index_");
        // 频道信息数据
        List<String> channelIds = new ArrayList<>();// 文章列表获取参数
        String channelId;// 频道配置获取参数
        switch (channelName){
            case "tzgg":// 天津-通知公告(2501010101)
                channelIds.add("2501010101");
                channelId = "2501010101";
                break;
            case "zqyj":// 天津-征求意见(2501010102)
                channelIds.add("2501010102");
                channelId = "2501010102";
                break;
            case "zfyzb":// 天津-正福易找标(2501010103)
                channelIds.add("2501010103");
                channelId = "2501010103";
                break;
            case "flfg":// 天津-法律法规(2501010104)
                channelIds.add("104010301");
                channelId = "2501010104";
                break;
            case "dffg":// 天津-地方法规(2501010105)
                channelIds.add("2501010105");
                channelId = "2501010105";
                break;
            case "zczq":// 天津-政策专区(2501010106)
                channelIds.add("2501010106");
                channelId = "2501010106";
                break;
            case "tscljg":// 天津-投诉处理结果(2501010107)
                channelIds.add("2501010107");
                channelId = "2501010107";
                break;
            case "jdjccljg":// 天津-监督检查处理结果(2501010108)
                channelIds.add("2501010108");
                channelId = "2501010108";
                break;
            case "jzcgjgkhjg":// 天津-集中采购机构考核结果(2501010109)
                channelIds.add("2501010109");
                channelId = "2501010109";
                break;
            default:// 默认取空调全站数据（热搜榜）
                channelIds.add("2101");
                channelId = "2101";
        }
        // 获取频道配置参数
        Channel channel = channelService.getChannelByPlateId(channelId);
        map.put("channel", channel);
        map.put("column", channel.getChannelName());
        // 内容列表数据
        if (null == pageNum) pageNum = 1;
        PageHelper.startPage(pageNum, 12);
        List<ArticleList> articleList = articleMapper.loadArticleByPlates(channelIds);
        // 处理文章标题
        articleList.forEach(item -> {
            ArticleTitle articleTitle = articleTitleMapper.loadArticleTitle(item.getArticleId(), -1);
            if (null != articleTitle){
                item.setArticleTitle(articleTitle.getArticleTitle());
                item.setArticleImage(articleTitle.getArticleImage());
                item.setArticleImageAlt(articleTitle.getArticleImageAlt());
            }
            // 关键字列表处理
            List<ArticleKeyword> articleKeywordList = new ArrayList<>();// 关键词列表(可点击)
            if (!item.getArticleKeyWord().equals("")) {
                String[] articleKeyword = item.getArticleKeyWord().split(",");
                for (String info : articleKeyword) {
                    ArticleKeyword keyword = articleKeywordMapper.selectByPrimaryKey(Integer.valueOf(info));
                    if (null != keyword) {
                        articleKeywordList.add(keyword);
                    }
                }
            }
            item.setArticleKeywordList(articleKeywordList);
        });
        map.put("articleList", new PageInfo<>(articleList));
        return "/web/html/list/tianjinList";
    }

    /**
     * 获取云南分站各个栏目列表页更多接口--返回伪静态数据页
     * 前台页面访问地址：yunnan.caigou2003.com/web/yunnan/tzgg/index_1.html
     * 转发接口地址：api.caigou2003.com/yunnan/tzgg/1
     * @param map           数据返回结构
     * @param channelName   需加载数据的栏目ID
     * @param pageNum       页码
     * @return              页面数据
     */
    @RequestMapping(value = "/yunnan/{channelName}/{pageNum}", method = RequestMethod.GET)
    public String yunnanListRewrite(@PathVariable(name = "channelName") String channelName, @PathVariable(name = "pageNum") Integer pageNum,
                                     ModelMap map){
        // 注入主域名与当前二级域名
        map.put("domain", domain);
        map.put("domainYunNan", domainYunNan);
        map.put("domainYunNanUrl", domainYunNan+"/web/yunnan/"+channelName+"/index_");
        // 频道信息数据
        List<String> channelIds = new ArrayList<>();// 文章列表获取参数
        String channelId;// 频道配置获取参数
        switch (channelName){
            case "tzgg":// 云南-通知公告(2001010101)
                channelIds.add("2001010101");
                channelId = "2001010101";
                break;
            case "gzdt":// 云南-工作动态(2001010102)
                channelIds.add("2001010102");
                channelId = "2001010102";
                break;
            case "zfyzb":// 云南-正福易找标(2001010103)
                channelIds.add("2001010103");
                channelId = "2001010103";
                break;
            case "flfg":// 云南-法律法规(2001010104)
                channelIds.add("104010301");
                channelId = "2001010104";
                break;
            case "dffg":// 云南-地方法规(2001010105)
                channelIds.add("2001010105");
                channelId = "2001010105";
                break;
            case "zczq":// 云南-政策专区(2001010106)
                channelIds.add("2001010106");
                channelId = "2001010106";
                break;
            case "tscljg":// 云南-投诉处理结果(2001010107)
                channelIds.add("2001010107");
                channelId = "2001010107";
                break;
            case "jdjccljg":// 云南-监督检查处理结果(2001010108)
                channelIds.add("2001010108");
                channelId = "2001010108";
                break;
            case "jzcgjgkhjg":// 云南-集中采购机构考核结果(2001010109)
                channelIds.add("2001010109");
                channelId = "2001010109";
                break;
            case "gmfw":// 云南-购买服务(2001010110)
                channelIds.add("2001010110");
                channelId = "2001010110";
                break;
            case "bszn":// 云南-办事指南(2001010111)
                channelIds.add("2001010111");
                channelId = "2001010111";
                break;
            default:// 默认取空调全站数据（热搜榜）
                channelIds.add("2001");
                channelId = "2001";
        }
        // 获取频道配置参数
        Channel channel = channelService.getChannelByPlateId(channelId);
        map.put("channel", channel);
        map.put("column", channel.getChannelName());
        // 内容列表数据
        if (null == pageNum) pageNum = 1;
        PageHelper.startPage(pageNum, 12);
        List<ArticleList> articleList = articleMapper.loadArticleByPlates(channelIds);
        // 处理文章标题
        articleList.forEach(item -> {
            ArticleTitle articleTitle = articleTitleMapper.loadArticleTitle(item.getArticleId(), -1);
            if (null != articleTitle){
                item.setArticleTitle(articleTitle.getArticleTitle());
                item.setArticleImage(articleTitle.getArticleImage());
                item.setArticleImageAlt(articleTitle.getArticleImageAlt());
            }
            // 关键字列表处理
            List<ArticleKeyword> articleKeywordList = new ArrayList<>();// 关键词列表(可点击)
            if (!item.getArticleKeyWord().equals("")) {
                String[] articleKeyword = item.getArticleKeyWord().split(",");
                for (String info : articleKeyword) {
                    ArticleKeyword keyword = articleKeywordMapper.selectByPrimaryKey(Integer.valueOf(info));
                    if (null != keyword) {
                        articleKeywordList.add(keyword);
                    }
                }
            }
            item.setArticleKeywordList(articleKeywordList);
        });
        map.put("articleList", new PageInfo<>(articleList));
        return "/web/html/list/yunnanList";
    }

    /**
     * 获取浙江分站各个栏目列表页更多接口--返回伪静态数据页
     * 前台页面访问地址：zhejiang.caigou2003.com/web/zhejiang/tzgg/index_1.html
     * 转发接口地址：api.caigou2003.com/zhejiang/tzgg/1
     * @param map           数据返回结构
     * @param channelName   需加载数据的栏目ID
     * @param pageNum       页码
     * @return              页面数据
     */
    @RequestMapping(value = "/zhejiang/{channelName}/{pageNum}", method = RequestMethod.GET)
    public String zhejiangListRewrite(@PathVariable(name = "channelName") String channelName, @PathVariable(name = "pageNum") Integer pageNum,
                                    ModelMap map){
        // 注入主域名与当前二级域名
        map.put("domain", domain);
        map.put("domainZheJiang", domainZheJiang);
        map.put("domainZheJiangUrl", domainZheJiang+"/web/zhejiang/"+channelName+"/index_");
        // 频道信息数据
        List<String> channelIds = new ArrayList<>();// 文章列表获取参数
        String channelId;// 频道配置获取参数
        switch (channelName){
            case "tzgg":// 浙江-通知公告(1001010101)
                channelIds.add("1001010101");
                channelId = "1001010101";
                break;
            case "gzdt":// 浙江-工作动态(1001010102)
                channelIds.add("1001010102");
                channelId = "1001010102";
                break;
            case "zfyzb":// 浙江-正福易找标(1001010103)
                channelIds.add("1001010103");
                channelId = "1001010103";
                break;
            case "flfg":// 浙江-法律法规(1001010104)
                channelIds.add("104010301");
                channelId = "1001010104";
                break;
            case "dffg":// 浙江-地方法规(1001010105)
                channelIds.add("1001010105");
                channelId = "1001010105";
                break;
            case "tscljg":// 浙江-投诉处理结果(1001010106)
                channelIds.add("1001010106");
                channelId = "1001010106";
                break;
            case "jdjccljg":// 浙江-监督检查处理结果(1001010107)
                channelIds.add("1001010107");
                channelId = "1001010107";
                break;
            case "gmfw":// 浙江-购买服务(1001010108)
                channelIds.add("1001010108");
                channelId = "1001010108";
                break;
            case "wjxz":// 浙江-文件下载(1001010109)
                channelIds.add("1001010109");
                channelId = "1001010109";
                break;
            default:// 默认取空调全站数据（热搜榜）
                channelIds.add("1001");
                channelId = "1001";
        }
        // 获取频道配置参数
        Channel channel = channelService.getChannelByPlateId(channelId);
        map.put("channel", channel);
        map.put("column", channel.getChannelName());
        // 内容列表数据
        if (null == pageNum) pageNum = 1;
        PageHelper.startPage(pageNum, 12);
        List<ArticleList> articleList = articleMapper.loadArticleByPlates(channelIds);
        // 处理文章标题
        articleList.forEach(item -> {
            ArticleTitle articleTitle = articleTitleMapper.loadArticleTitle(item.getArticleId(), -1);
            if (null != articleTitle){
                item.setArticleTitle(articleTitle.getArticleTitle());
                item.setArticleImage(articleTitle.getArticleImage());
                item.setArticleImageAlt(articleTitle.getArticleImageAlt());
            }
            // 关键字列表处理
            List<ArticleKeyword> articleKeywordList = new ArrayList<>();// 关键词列表(可点击)
            if (!item.getArticleKeyWord().equals("")) {
                String[] articleKeyword = item.getArticleKeyWord().split(",");
                for (String info : articleKeyword) {
                    ArticleKeyword keyword = articleKeywordMapper.selectByPrimaryKey(Integer.valueOf(info));
                    if (null != keyword) {
                        articleKeywordList.add(keyword);
                    }
                }
            }
            item.setArticleKeywordList(articleKeywordList);
        });
        map.put("articleList", new PageInfo<>(articleList));
        return "/web/html/list/zhejiangList";
    }

    /**
     * 获取重庆分站各个栏目列表页更多接口--返回伪静态数据页
     * 前台页面访问地址：chongqing.caigou2003.com/web/chongqing/tzgg/index_1.html
     * 转发接口地址：api.caigou2003.com/chongqing/tzgg/1
     * @param map           数据返回结构
     * @param channelName   需加载数据的栏目ID
     * @param pageNum       页码
     * @return              页面数据
     */
    @RequestMapping(value = "/chongqing/{channelName}/{pageNum}", method = RequestMethod.GET)
    public String chongqingListRewrite(@PathVariable(name = "channelName") String channelName, @PathVariable(name = "pageNum") Integer pageNum,
                                      ModelMap map){
        // 注入主域名与当前二级域名
        map.put("domain", domain);
        map.put("domainChongQing", domainChongQing);
        map.put("domainChongQingUrl", domainChongQing+"/web/chongqing/"+channelName+"/index_");
        // 频道信息数据
        List<String> channelIds = new ArrayList<>();// 文章列表获取参数
        String channelId;// 频道配置获取参数
        switch (channelName){
            case "tzgg":// 重庆-通知公告(2601010101)
                channelIds.add("2601010101");
                channelId = "2601010101";
                break;
            case "gzdt":// 重庆-工作动态(2601010102)
                channelIds.add("2601010102");
                channelId = "2601010102";
                break;
            case "zfyzb":// 重庆-正福易找标(2601010103)
                channelIds.add("2601010103");
                channelId = "2601010103";
                break;
            case "flfg":// 重庆-法律法规(2601010104)
                channelIds.add("104010301");
                channelId = "2601010104";
                break;
            case "dffg":// 重庆-地方法规(2601010105)
                channelIds.add("2601010105");
                channelId = "2601010105";
                break;
            case "zczq":// 重庆-政策专区(2601010106)
                channelIds.add("2601010106");
                channelId = "2601010106";
                break;
            case "tscljg":// 重庆-投诉处理结果(2601010107)
                channelIds.add("2601010107");
                channelId = "2601010107";
                break;
            case "jdjccljg":// 重庆-监督检查处理结果(2601010108)
                channelIds.add("2601010108");
                channelId = "2601010108";
                break;
            case "gmfw":// 重庆-购买服务(2601010109)
                channelIds.add("2601010109");
                channelId = "2601010109";
                break;
            default:// 默认取空调全站数据（热搜榜）
                channelIds.add("2601");
                channelId = "2601";
        }
        // 获取频道配置参数
        Channel channel = channelService.getChannelByPlateId(channelId);
        map.put("channel", channel);
        map.put("column", channel.getChannelName());
        // 内容列表数据
        if (null == pageNum) pageNum = 1;
        PageHelper.startPage(pageNum, 12);
        List<ArticleList> articleList = articleMapper.loadArticleByPlates(channelIds);
        // 处理文章标题
        articleList.forEach(item -> {
            ArticleTitle articleTitle = articleTitleMapper.loadArticleTitle(item.getArticleId(), -1);
            if (null != articleTitle){
                item.setArticleTitle(articleTitle.getArticleTitle());
                item.setArticleImage(articleTitle.getArticleImage());
                item.setArticleImageAlt(articleTitle.getArticleImageAlt());
            }
            // 关键字列表处理
            List<ArticleKeyword> articleKeywordList = new ArrayList<>();// 关键词列表(可点击)
            if (!item.getArticleKeyWord().equals("")) {
                String[] articleKeyword = item.getArticleKeyWord().split(",");
                for (String info : articleKeyword) {
                    ArticleKeyword keyword = articleKeywordMapper.selectByPrimaryKey(Integer.valueOf(info));
                    if (null != keyword) {
                        articleKeywordList.add(keyword);
                    }
                }
            }
            item.setArticleKeywordList(articleKeywordList);
        });
        map.put("articleList", new PageInfo<>(articleList));
        return "/web/html/list/chongqingList";
    }

    /**
     * 获取深圳分站各个栏目列表页更多接口--返回伪静态数据页
     * 前台页面访问地址：shenzhen.caigou2003.com/web/shenzhen/tzgg/index_1.html
     * 转发接口地址：api.caigou2003.com/shenzhen/tzgg/1
     * @param map           数据返回结构
     * @param channelName   需加载数据的栏目ID
     * @param pageNum       页码
     * @return              页面数据
     */
    @RequestMapping(value = "/shenzhen/{channelName}/{pageNum}", method = RequestMethod.GET)
    public String shenzhenListRewrite(@PathVariable(name = "channelName") String channelName, @PathVariable(name = "pageNum") Integer pageNum,
                                       ModelMap map){
        // 注入主域名与当前二级域名
        map.put("domain", domain);
        map.put("domainShenZhen", domainShenZhen);
        map.put("domainShenZhenUrl", domainShenZhen+"/web/shenzhen/"+channelName+"/index_");
        // 频道信息数据
        List<String> channelIds = new ArrayList<>();// 文章列表获取参数
        String channelId;// 频道配置获取参数
        switch (channelName){
            case "tzgg":// 深圳-通知公告(3801010101)
                channelIds.add("3801010101");
                channelId = "3801010101";
                break;
            case "gzdt":// 深圳-工作动态(3801010102)
                channelIds.add("3801010102");
                channelId = "3801010102";
                break;
            case "zfyzb":// 深圳-正福易找标(3801010103)
                channelIds.add("3801010103");
                channelId = "3801010103";
                break;
            case "flfg":// 深圳-法律法规(3801010104)
                channelIds.add("104010301");
                channelId = "3801010104";
                break;
            case "dffg":// 深圳-地方法规(3801010105)
                channelIds.add("3801010105");
                channelId = "3801010105";
                break;
            case "zczq":// 深圳-政策专区(3801010106)
                channelIds.add("3801010106");
                channelId = "3801010106";
                break;
            case "tscljg":// 深圳-投诉处理结果(3801010107)
                channelIds.add("3801010107");
                channelId = "3801010107";
                break;
            case "jdjccljg":// 深圳-监督检查处理结果(3801010108)
                channelIds.add("3801010108");
                channelId = "3801010108";
                break;
            case "gmfw":// 深圳-购买服务(3801010109)
                channelIds.add("3801010109");
                channelId = "3801010109";
                break;
            case "bszn":// 深圳-办事指南(3801010110)
                channelIds.add("3801010110");
                channelId = "3801010110";
                break;
            case "cjwtjd":// 深圳-常见问题解答(3801010111)
                channelIds.add("3801010111");
                channelId = "3801010111";
                break;
            case "wjxz":// 深圳-文件下载(3801010112)
                channelIds.add("3801010112");
                channelId = "3801010112";
                break;
            default:// 默认取空调全站数据（热搜榜）
                channelIds.add("3801");
                channelId = "3801";
        }
        // 获取频道配置参数
        Channel channel = channelService.getChannelByPlateId(channelId);
        map.put("channel", channel);
        map.put("column", channel.getChannelName());
        // 内容列表数据
        if (null == pageNum) pageNum = 1;
        PageHelper.startPage(pageNum, 12);
        List<ArticleList> articleList = articleMapper.loadArticleByPlates(channelIds);
        // 处理文章标题
        articleList.forEach(item -> {
            ArticleTitle articleTitle = articleTitleMapper.loadArticleTitle(item.getArticleId(), -1);
            if (null != articleTitle){
                item.setArticleTitle(articleTitle.getArticleTitle());
                item.setArticleImage(articleTitle.getArticleImage());
                item.setArticleImageAlt(articleTitle.getArticleImageAlt());
            }
            // 关键字列表处理
            List<ArticleKeyword> articleKeywordList = new ArrayList<>();// 关键词列表(可点击)
            if (!item.getArticleKeyWord().equals("")) {
                String[] articleKeyword = item.getArticleKeyWord().split(",");
                for (String info : articleKeyword) {
                    ArticleKeyword keyword = articleKeywordMapper.selectByPrimaryKey(Integer.valueOf(info));
                    if (null != keyword) {
                        articleKeywordList.add(keyword);
                    }
                }
            }
            item.setArticleKeywordList(articleKeywordList);
        });
        map.put("articleList", new PageInfo<>(articleList));
        return "/web/html/list/shenzhenList";
    }

    /**
     * 获取青岛分站各个栏目列表页更多接口--返回伪静态数据页
     * 前台页面访问地址：qingdao.caigou2003.com/web/shenzhen/tzgg/index_1.html
     * 转发接口地址：api.caigou2003.com/qingdao/tzgg/1
     * @param map           数据返回结构
     * @param channelName   需加载数据的栏目ID
     * @param pageNum       页码
     * @return              页面数据
     */
    @RequestMapping(value = "/qingdao/{channelName}/{pageNum}", method = RequestMethod.GET)
    public String qingdaoListRewrite(@PathVariable(name = "channelName") String channelName, @PathVariable(name = "pageNum") Integer pageNum,
                                      ModelMap map){
        // 注入主域名与当前二级域名
        map.put("domain", domain);
        map.put("domainQingDao", domainQingDao);
        map.put("domainQingDaoUrl", domainQingDao+"/web/shenzhen/"+channelName+"/index_");
        // 频道信息数据
        List<String> channelIds = new ArrayList<>();// 文章列表获取参数
        String channelId;// 频道配置获取参数
        switch (channelName){
            case "tzgg":// 青岛-通知公告(3501010101)
                channelIds.add("3501010101");
                channelId = "3501010101";
                break;
            case "gzdt":// 青岛-工作动态(3501010102)
                channelIds.add("3501010102");
                channelId = "3501010102";
                break;
            case "zfyzb":// 青岛-正福易找标(3501010103)
                channelIds.add("3501010103");
                channelId = "3501010103";
                break;
            case "flfg":// 青岛-法律法规(3501010104)
                channelIds.add("104010301");
                channelId = "3501010104";
                break;
            case "dffg":// 青岛-地方法规(3501010105)
                channelIds.add("3501010105");
                channelId = "3501010105";
                break;
            case "zczq":// 青岛-政策专区(3501010106)
                channelIds.add("3501010106");
                channelId = "3501010106";
                break;
            case "tscljg":// 青岛-投诉处理结果(3501010107)
                channelIds.add("3501010107");
                channelId = "3501010107";
                break;
            case "jdjccljg":// 青岛-监督检查处理结果(3501010108)
                channelIds.add("3501010108");
                channelId = "3501010108";
                break;
            case "gmfw":// 青岛-购买服务(3501010109)
                channelIds.add("3501010109");
                channelId = "3501010109";
                break;
            default:// 默认取青岛全站数据（热搜榜）
                channelIds.add("3501");
                channelId = "3501";
        }
        // 获取频道配置参数
        Channel channel = channelService.getChannelByPlateId(channelId);
        map.put("channel", channel);
        map.put("column", channel.getChannelName());
        // 内容列表数据
        if (null == pageNum) pageNum = 1;
        PageHelper.startPage(pageNum, 12);
        List<ArticleList> articleList = articleMapper.loadArticleByPlates(channelIds);
        // 处理文章标题
        articleList.forEach(item -> {
            ArticleTitle articleTitle = articleTitleMapper.loadArticleTitle(item.getArticleId(), -1);
            if (null != articleTitle){
                item.setArticleTitle(articleTitle.getArticleTitle());
                item.setArticleImage(articleTitle.getArticleImage());
                item.setArticleImageAlt(articleTitle.getArticleImageAlt());
            }
            // 关键字列表处理
            List<ArticleKeyword> articleKeywordList = new ArrayList<>();// 关键词列表(可点击)
            if (!item.getArticleKeyWord().equals("")) {
                String[] articleKeyword = item.getArticleKeyWord().split(",");
                for (String info : articleKeyword) {
                    ArticleKeyword keyword = articleKeywordMapper.selectByPrimaryKey(Integer.valueOf(info));
                    if (null != keyword) {
                        articleKeywordList.add(keyword);
                    }
                }
            }
            item.setArticleKeywordList(articleKeywordList);
        });
        map.put("articleList", new PageInfo<>(articleList));
        return "/web/html/list/qingdaoList";
    }

    /**
     * 获取大连分站各个栏目列表页更多接口--返回伪静态数据页
     * 前台页面访问地址：dalian.caigou2003.com/web/dalian/tzgg/index_1.html
     * 转发接口地址：api.caigou2003.com/dalian/tzgg/1
     * @param map           数据返回结构
     * @param channelName   需加载数据的栏目ID
     * @param pageNum       页码
     * @return              页面数据
     */
    @RequestMapping(value = "/dalian/{channelName}/{pageNum}", method = RequestMethod.GET)
    public String dalianListRewrite(@PathVariable(name = "channelName") String channelName, @PathVariable(name = "pageNum") Integer pageNum,
                                     ModelMap map){
        // 注入主域名与当前二级域名
        map.put("domain", domain);
        map.put("domainDaLian", domainDaLian);
        map.put("domainDaLianUrl", domainDaLian+"/web/dalian/"+channelName+"/index_");
        // 频道信息数据
        List<String> channelIds = new ArrayList<>();// 文章列表获取参数
        String channelId;// 频道配置获取参数
        switch (channelName){
            case "tzgg":// 大连-通知公告(3401010101)
                channelIds.add("3401010101");
                channelId = "3401010101";
                break;
            case "gzdt":// 大连-工作动态(3401010102)
                channelIds.add("3401010102");
                channelId = "3401010102";
                break;
            case "zfyzb":// 大连-正福易找标(3401010103)
                channelIds.add("3401010103");
                channelId = "3401010103";
                break;
            case "flfg":// 大连-法律法规(3401010104)
                channelIds.add("104010301");
                channelId = "3401010104";
                break;
            case "dffg":// 大连-地方法规(3401010105)
                channelIds.add("3401010105");
                channelId = "3401010105";
                break;
            case "zczq":// 大连-政策专区(3401010106)
                channelIds.add("3401010106");
                channelId = "3401010106";
                break;
            case "tscljg":// 大连-投诉处理结果(3401010107)
                channelIds.add("3401010107");
                channelId = "3401010107";
                break;
            case "jdjccljg":// 大连-监督检查处理结果(3401010108)
                channelIds.add("3401010108");
                channelId = "3401010108";
                break;
            case "gmfw":// 大连-购买服务(3401010109)
                channelIds.add("3401010109");
                channelId = "3401010109";
                break;
            default:// 默认取大连全站数据（热搜榜）
                channelIds.add("3401");
                channelId = "3401";
        }
        // 获取频道配置参数
        Channel channel = channelService.getChannelByPlateId(channelId);
        map.put("channel", channel);
        map.put("column", channel.getChannelName());
        // 内容列表数据
        if (null == pageNum) pageNum = 1;
        PageHelper.startPage(pageNum, 12);
        List<ArticleList> articleList = articleMapper.loadArticleByPlates(channelIds);
        // 处理文章标题
        articleList.forEach(item -> {
            ArticleTitle articleTitle = articleTitleMapper.loadArticleTitle(item.getArticleId(), -1);
            if (null != articleTitle){
                item.setArticleTitle(articleTitle.getArticleTitle());
                item.setArticleImage(articleTitle.getArticleImage());
                item.setArticleImageAlt(articleTitle.getArticleImageAlt());
            }
            // 关键字列表处理
            List<ArticleKeyword> articleKeywordList = new ArrayList<>();// 关键词列表(可点击)
            if (!item.getArticleKeyWord().equals("")) {
                String[] articleKeyword = item.getArticleKeyWord().split(",");
                for (String info : articleKeyword) {
                    ArticleKeyword keyword = articleKeywordMapper.selectByPrimaryKey(Integer.valueOf(info));
                    if (null != keyword) {
                        articleKeywordList.add(keyword);
                    }
                }
            }
            item.setArticleKeywordList(articleKeywordList);
        });
        map.put("articleList", new PageInfo<>(articleList));
        return "/web/html/list/dalianList";
    }

    /**
     * 获取西藏分站各个栏目列表页更多接口--返回伪静态数据页
     * 前台页面访问地址：xizang.caigou2003.com/web/xizang/tzgg/index_1.html
     * 转发接口地址：api.caigou2003.com/xizang/tzgg/1
     * @param map           数据返回结构
     * @param channelName   需加载数据的栏目ID
     * @param pageNum       页码
     * @return              页面数据
     */
    @RequestMapping(value = "/xizang/{channelName}/{pageNum}", method = RequestMethod.GET)
    public String xizangListRewrite(@PathVariable(name = "channelName") String channelName, @PathVariable(name = "pageNum") Integer pageNum,
                                    ModelMap map){
        // 注入主域名与当前二级域名
        map.put("domain", domain);
        map.put("domainXiZang", domainXiZang);
        map.put("domainXiZangUrl", domainXiZang+"/web/xizang/"+channelName+"/index_");
        // 频道信息数据
        List<String> channelIds = new ArrayList<>();// 文章列表获取参数
        String channelId;// 频道配置获取参数
        switch (channelName){
            case "tzgg":// 西藏-通知公告(3201010101)
                channelIds.add("3201010101");
                channelId = "3201010101";
                break;
            case "gzdt":// 西藏-工作动态(3201010102)
                channelIds.add("3201010102");
                channelId = "3201010102";
                break;
            case "zfyzb":// 西藏-正福易找标(3201010103)
                channelIds.add("3201010103");
                channelId = "3201010103";
                break;
            case "flfg":// 西藏-法律法规(3201010104)
                channelIds.add("104010301");
                channelId = "3201010104";
                break;
            case "dffg":// 西藏-地方法规(3201010105)
                channelIds.add("3201010105");
                channelId = "3201010105";
                break;
            case "tscljg":// 西藏-投诉处理结果(3201010106)
                channelIds.add("3201010106");
                channelId = "3201010106";
                break;
            case "jdjccljg":// 西藏-监督检查处理结果(3201010107)
                channelIds.add("3201010107");
                channelId = "3201010107";
                break;
            default:// 默认取西藏全站数据（热搜榜）
                channelIds.add("3201");
                channelId = "3201";
        }
        // 获取频道配置参数
        Channel channel = channelService.getChannelByPlateId(channelId);
        map.put("channel", channel);
        map.put("column", channel.getChannelName());
        // 内容列表数据
        if (null == pageNum) pageNum = 1;
        PageHelper.startPage(pageNum, 12);
        List<ArticleList> articleList = articleMapper.loadArticleByPlates(channelIds);
        // 处理文章标题
        articleList.forEach(item -> {
            ArticleTitle articleTitle = articleTitleMapper.loadArticleTitle(item.getArticleId(), -1);
            if (null != articleTitle){
                item.setArticleTitle(articleTitle.getArticleTitle());
                item.setArticleImage(articleTitle.getArticleImage());
                item.setArticleImageAlt(articleTitle.getArticleImageAlt());
            }
            // 关键字列表处理
            List<ArticleKeyword> articleKeywordList = new ArrayList<>();// 关键词列表(可点击)
            if (!item.getArticleKeyWord().equals("")) {
                String[] articleKeyword = item.getArticleKeyWord().split(",");
                for (String info : articleKeyword) {
                    ArticleKeyword keyword = articleKeywordMapper.selectByPrimaryKey(Integer.valueOf(info));
                    if (null != keyword) {
                        articleKeywordList.add(keyword);
                    }
                }
            }
            item.setArticleKeywordList(articleKeywordList);
        });
        map.put("articleList", new PageInfo<>(articleList));
        return "/web/html/list/xizangList";
    }

    /**
     * 获取新疆分站各个栏目列表页更多接口--返回伪静态数据页
     * 前台页面访问地址：xinjiang.caigou2003.com/web/xinjiang/tzgg/index_1.html
     * 转发接口地址：api.caigou2003.com/xinjiang/tzgg/1
     * @param map           数据返回结构
     * @param channelName   需加载数据的栏目ID
     * @param pageNum       页码
     * @return              页面数据
     */
    @RequestMapping(value = "/xinjiang/{channelName}/{pageNum}", method = RequestMethod.GET)
    public String xinjiangListRewrite(@PathVariable(name = "channelName") String channelName, @PathVariable(name = "pageNum") Integer pageNum,
                                    ModelMap map){
        // 注入主域名与当前二级域名
        map.put("domain", domain);
        map.put("domainXinJiang", domainXinJiang);
        map.put("domainXinJiangUrl", domainXinJiang+"/web/xinjiang/"+channelName+"/index_");
        // 频道信息数据
        List<String> channelIds = new ArrayList<>();// 文章列表获取参数
        String channelId;// 频道配置获取参数
        switch (channelName){
            case "tzgg":// 新疆-通知公告(3101010101)
                channelIds.add("3101010101");
                channelId = "3101010101";
                break;
            case "gzdt":// 新疆-工作动态(3101010102)
                channelIds.add("3101010102");
                channelId = "3101010102";
                break;
            case "zfyzb":// 新疆-正福易找标(3101010103)
                channelIds.add("3101010103");
                channelId = "3101010103";
                break;
            case "flfg":// 新疆-法律法规(3101010104)
                channelIds.add("104010301");
                channelId = "3101010104";
                break;
            case "dffg":// 新疆-地方法规(3101010105)
                channelIds.add("3101010105");
                channelId = "3101010105";
                break;
            case "zczq":// 新疆-政策专区(3101010106)
                channelIds.add("3101010106");
                channelId = "3101010106";
                break;
            case "tscljg":// 新疆-投诉处理结果(3101010107)
                channelIds.add("3101010107");
                channelId = "3101010107";
                break;
            case "jdjccljg":// 新疆-监督检查处理结果(3101010108)
                channelIds.add("3101010108");
                channelId = "3101010108";
                break;
            case "jzcgjgkhjg":// 新疆-集中采购机构考核结果(3101010109)
                channelIds.add("3101010109");
                channelId = "3101010109";
                break;
            case "gmfw":// 新疆-购买服务(3101010110)
                channelIds.add("3101010110");
                channelId = "3101010110";
                break;
            case "bszn":// 新疆-办事指南(3101010111)
                channelIds.add("3101010111");
                channelId = "3101010111";
                break;
            case "wjxz":// 新疆-文件下载(3101010112)
                channelIds.add("3101010112");
                channelId = "3101010112";
                break;
            default:// 默认取新疆全站数据（热搜榜）
                channelIds.add("3101");
                channelId = "3101";
        }
        // 获取频道配置参数
        Channel channel = channelService.getChannelByPlateId(channelId);
        map.put("channel", channel);
        map.put("column", channel.getChannelName());
        // 内容列表数据
        if (null == pageNum) pageNum = 1;
        PageHelper.startPage(pageNum, 12);
        List<ArticleList> articleList = articleMapper.loadArticleByPlates(channelIds);
        // 处理文章标题
        articleList.forEach(item -> {
            ArticleTitle articleTitle = articleTitleMapper.loadArticleTitle(item.getArticleId(), -1);
            if (null != articleTitle){
                item.setArticleTitle(articleTitle.getArticleTitle());
                item.setArticleImage(articleTitle.getArticleImage());
                item.setArticleImageAlt(articleTitle.getArticleImageAlt());
            }
            // 关键字列表处理
            List<ArticleKeyword> articleKeywordList = new ArrayList<>();// 关键词列表(可点击)
            if (!item.getArticleKeyWord().equals("")) {
                String[] articleKeyword = item.getArticleKeyWord().split(",");
                for (String info : articleKeyword) {
                    ArticleKeyword keyword = articleKeywordMapper.selectByPrimaryKey(Integer.valueOf(info));
                    if (null != keyword) {
                        articleKeywordList.add(keyword);
                    }
                }
            }
            item.setArticleKeywordList(articleKeywordList);
        });
        map.put("articleList", new PageInfo<>(articleList));
        return "/web/html/list/xinjiangList";
    }

    /**
     * 获取宁夏分站各个栏目列表页更多接口--返回伪静态数据页
     * 前台页面访问地址：ningxia.caigou2003.com/web/ningxai/tzgg/index_1.html
     * 转发接口地址：api.caigou2003.com/ningxai/tzgg/1
     * @param map           数据返回结构
     * @param channelName   需加载数据的栏目ID
     * @param pageNum       页码
     * @return              页面数据
     */
    @RequestMapping(value = "/ningxia/{channelName}/{pageNum}", method = RequestMethod.GET)
    public String ningxiaListRewrite(@PathVariable(name = "channelName") String channelName, @PathVariable(name = "pageNum") Integer pageNum,
                                      ModelMap map){
        // 注入主域名与当前二级域名
        map.put("domain", domain);
        map.put("domainNingXia", domainNingXia);
        map.put("domainNingXiaUrl", domainNingXia+"/web/ningxia/"+channelName+"/index_");
        // 频道信息数据
        List<String> channelIds = new ArrayList<>();// 文章列表获取参数
        String channelId;// 频道配置获取参数
        switch (channelName){
            case "tzgg":// 宁夏-通知公告(3001010101)
                channelIds.add("3001010101");
                channelId = "3001010101";
                break;
            case "gzdt":// 宁夏-工作动态(3001010102)
                channelIds.add("3001010102");
                channelId = "3001010102";
                break;
            case "zfyzb":// 宁夏-正福易找标(3001010103)
                channelIds.add("3001010103");
                channelId = "3001010103";
                break;
            case "flfg":// 宁夏-法律法规(3001010104)
                channelIds.add("104010301");
                channelId = "3001010104";
                break;
            case "dffg":// 宁夏-地方法规(3001010105)
                channelIds.add("3001010105");
                channelId = "3001010105";
                break;
            case "zczq":// 宁夏-政策专区(3001010106)
                channelIds.add("3001010106");
                channelId = "3001010106";
                break;
            case "tscljg":// 宁夏-投诉处理结果(3001010107)
                channelIds.add("3001010107");
                channelId = "3001010107";
                break;
            case "jdjccljg":// 宁夏-监督检查处理结果(3001010108)
                channelIds.add("3001010108");
                channelId = "3001010108";
                break;
            case "gmfw":// 宁夏-购买服务(3001010109)
                channelIds.add("3001010109");
                channelId = "3001010109";
                break;
            case "bszn":// 宁夏-办事指南(3001010110)
                channelIds.add("3001010110");
                channelId = "3001010110";
                break;
            case "wjxz":// 宁夏-文件下载(3001010111)
                channelIds.add("3001010111");
                channelId = "3001010111";
                break;
            default:// 默认取宁夏全站数据（热搜榜）
                channelIds.add("3001");
                channelId = "3001";
        }
        // 获取频道配置参数
        Channel channel = channelService.getChannelByPlateId(channelId);
        map.put("channel", channel);
        map.put("column", channel.getChannelName());
        // 内容列表数据
        if (null == pageNum) pageNum = 1;
        PageHelper.startPage(pageNum, 12);
        List<ArticleList> articleList = articleMapper.loadArticleByPlates(channelIds);
        // 处理文章标题
        articleList.forEach(item -> {
            ArticleTitle articleTitle = articleTitleMapper.loadArticleTitle(item.getArticleId(), -1);
            if (null != articleTitle){
                item.setArticleTitle(articleTitle.getArticleTitle());
                item.setArticleImage(articleTitle.getArticleImage());
                item.setArticleImageAlt(articleTitle.getArticleImageAlt());
            }
            // 关键字列表处理
            List<ArticleKeyword> articleKeywordList = new ArrayList<>();// 关键词列表(可点击)
            if (!item.getArticleKeyWord().equals("")) {
                String[] articleKeyword = item.getArticleKeyWord().split(",");
                for (String info : articleKeyword) {
                    ArticleKeyword keyword = articleKeywordMapper.selectByPrimaryKey(Integer.valueOf(info));
                    if (null != keyword) {
                        articleKeywordList.add(keyword);
                    }
                }
            }
            item.setArticleKeywordList(articleKeywordList);
        });
        map.put("articleList", new PageInfo<>(articleList));
        return "/web/html/list/ningxiaList";
    }

    /**
     * 获取广西分站各个栏目列表页更多接口--返回伪静态数据页
     * 前台页面访问地址：guangxi.caigou2003.com/web/guangxi/tzgg/index_1.html
     * 转发接口地址：api.caigou2003.com/guangxi/tzgg/1
     * @param map           数据返回结构
     * @param channelName   需加载数据的栏目ID
     * @param pageNum       页码
     * @return              页面数据
     */
    @RequestMapping(value = "/guangxi/{channelName}/{pageNum}", method = RequestMethod.GET)
    public String guangxiListRewrite(@PathVariable(name = "channelName") String channelName, @PathVariable(name = "pageNum") Integer pageNum,
                                     ModelMap map){
        // 注入主域名与当前二级域名
        map.put("domain", domain);
        map.put("domainGuangXi", domainGuangXi);
        map.put("domainGuangXiUrl", domainGuangXi+"/web/guangxi/"+channelName+"/index_");
        // 频道信息数据
        List<String> channelIds = new ArrayList<>();// 文章列表获取参数
        String channelId;// 频道配置获取参数
        switch (channelName){
            case "tzgg":// 广西-通知公告(2901010101)
                channelIds.add("2901010101");
                channelId = "2901010101";
                break;
            case "gzdt":// 广西-工作动态(2901010102)
                channelIds.add("2901010102");
                channelId = "2901010102";
                break;
            case "zfyzb":// 广西-正福易找标(2901010103)
                channelIds.add("2901010103");
                channelId = "2901010103";
                break;
            case "flfg":// 广西-法律法规(2901010104)
                channelIds.add("104010301");
                channelId = "2901010104";
                break;
            case "dffg":// 广西-地方法规(2901010105)
                channelIds.add("2901010105");
                channelId = "2901010105";
                break;
            case "zczq":// 广西-政策专区(2901010106)
                channelIds.add("2901010106");
                channelId = "2901010106";
                break;
            case "tscljg":// 广西-投诉处理结果(2901010107)
                channelIds.add("2901010107");
                channelId = "2901010107";
                break;
            case "jdjccljg":// 广西-监督检查处理结果(2901010108)
                channelIds.add("2901010108");
                channelId = "2901010108";
                break;
            case "jzcgjgkhjg":// 广西-集中采购机构考核结果(2901010109)
                channelIds.add("2901010109");
                channelId = "2901010109";
                break;
            case "gmfw":// 广西-购买服务(2901010110)
                channelIds.add("2901010110");
                channelId = "2901010110";
                break;
            case "bszn":// 广西-办事指南(2901010111)
                channelIds.add("2901010111");
                channelId = "2901010111";
                break;
            case "cjwtjd":// 广西-常见问题解答(2901010112)
                channelIds.add("2901010112");
                channelId = "2901010112";
                break;
            case "wjxz":// 广西-文件下载(2901010113)
                channelIds.add("2901010113");
                channelId = "2901010113";
                break;
            default:// 默认取广西全站数据（热搜榜）
                channelIds.add("2901");
                channelId = "2901";
        }
        // 获取频道配置参数
        Channel channel = channelService.getChannelByPlateId(channelId);
        map.put("channel", channel);
        map.put("column", channel.getChannelName());
        // 内容列表数据
        if (null == pageNum) pageNum = 1;
        PageHelper.startPage(pageNum, 12);
        List<ArticleList> articleList = articleMapper.loadArticleByPlates(channelIds);
        // 处理文章标题
        articleList.forEach(item -> {
            ArticleTitle articleTitle = articleTitleMapper.loadArticleTitle(item.getArticleId(), -1);
            if (null != articleTitle){
                item.setArticleTitle(articleTitle.getArticleTitle());
                item.setArticleImage(articleTitle.getArticleImage());
                item.setArticleImageAlt(articleTitle.getArticleImageAlt());
            }
            // 关键字列表处理
            List<ArticleKeyword> articleKeywordList = new ArrayList<>();// 关键词列表(可点击)
            if (!item.getArticleKeyWord().equals("")) {
                String[] articleKeyword = item.getArticleKeyWord().split(",");
                for (String info : articleKeyword) {
                    ArticleKeyword keyword = articleKeywordMapper.selectByPrimaryKey(Integer.valueOf(info));
                    if (null != keyword) {
                        articleKeywordList.add(keyword);
                    }
                }
            }
            item.setArticleKeywordList(articleKeywordList);
        });
        map.put("articleList", new PageInfo<>(articleList));
        return "/web/html/list/guangxiList";
    }

    /**
     * 获取内蒙古分站各个栏目列表页更多接口--返回伪静态数据页
     * 前台页面访问地址：neimenggu.caigou2003.com/web/neimenggu/tzgg/index_1.html
     * 转发接口地址：api.caigou2003.com/neimenggu/tzgg/1
     * @param map           数据返回结构
     * @param channelName   需加载数据的栏目ID
     * @param pageNum       页码
     * @return              页面数据
     */
    @RequestMapping(value = "/neimenggu/{channelName}/{pageNum}", method = RequestMethod.GET)
    public String neimengguListRewrite(@PathVariable(name = "channelName") String channelName, @PathVariable(name = "pageNum") Integer pageNum,
                                     ModelMap map){
        // 注入主域名与当前二级域名
        map.put("domain", domain);
        map.put("domainNeiMengGu", domainNeiMengGu);
        map.put("domainNeiMengGuUrl", domainNeiMengGu+"/web/neimenggu/"+channelName+"/index_");
        // 频道信息数据
        List<String> channelIds = new ArrayList<>();// 文章列表获取参数
        String channelId;// 频道配置获取参数
        switch (channelName){
            case "tzgg":// 内蒙古-通知公告(2801010101)
                channelIds.add("2801010101");
                channelId = "2801010101";
                break;
            case "zfyzb":// 内蒙古-正福易找标(2801010102)
                channelIds.add("2801010102");
                channelId = "2801010102";
                break;
            case "flfg":// 内蒙古-法律法规(2801010103)
                channelIds.add("104010301");
                channelId = "2801010103";
                break;
            case "dffg":// 内蒙古-地方法规(2801010104)
                channelIds.add("2801010104");
                channelId = "2801010104";
                break;
            case "zczq":// 内蒙古-政策专区(2801010105)
                channelIds.add("2801010105");
                channelId = "2801010105";
                break;
            case "tscljg":// 内蒙古-投诉处理结果(2801010106)
                channelIds.add("2801010106");
                channelId = "2801010106";
                break;
            case "jdjccljg":// 内蒙古-监督检查处理结果(2801010107)
                channelIds.add("2801010107");
                channelId = "2801010107";
                break;
            case "bszn":// 内蒙古-办事指南(2801010108)
                channelIds.add("2801010108");
                channelId = "2801010108";
                break;
            default:// 默认取广西全站数据（热搜榜）
                channelIds.add("2901");
                channelId = "2901";
        }
        // 获取频道配置参数
        Channel channel = channelService.getChannelByPlateId(channelId);
        map.put("channel", channel);
        map.put("column", channel.getChannelName());
        // 内容列表数据
        if (null == pageNum) pageNum = 1;
        PageHelper.startPage(pageNum, 12);
        List<ArticleList> articleList = articleMapper.loadArticleByPlates(channelIds);
        // 处理文章标题
        articleList.forEach(item -> {
            ArticleTitle articleTitle = articleTitleMapper.loadArticleTitle(item.getArticleId(), -1);
            if (null != articleTitle){
                item.setArticleTitle(articleTitle.getArticleTitle());
                item.setArticleImage(articleTitle.getArticleImage());
                item.setArticleImageAlt(articleTitle.getArticleImageAlt());
            }
            // 关键字列表处理
            List<ArticleKeyword> articleKeywordList = new ArrayList<>();// 关键词列表(可点击)
            if (!item.getArticleKeyWord().equals("")) {
                String[] articleKeyword = item.getArticleKeyWord().split(",");
                for (String info : articleKeyword) {
                    ArticleKeyword keyword = articleKeywordMapper.selectByPrimaryKey(Integer.valueOf(info));
                    if (null != keyword) {
                        articleKeywordList.add(keyword);
                    }
                }
            }
            item.setArticleKeywordList(articleKeywordList);
        });
        map.put("articleList", new PageInfo<>(articleList));
        return "/web/html/list/neimengguList";
    }

    /**
     * 获取甘肃分站各个栏目列表页更多接口--返回伪静态数据页
     * 前台页面访问地址：gansu.caigou2003.com/web/gansu/tzgg/index_1.html
     * 转发接口地址：api.caigou2003.com/gansu/tzgg/1
     * @param map           数据返回结构
     * @param channelName   需加载数据的栏目ID
     * @param pageNum       页码
     * @return              页面数据
     */
    @RequestMapping(value = "/gansu/{channelName}/{pageNum}", method = RequestMethod.GET)
    public String gansuListRewrite(@PathVariable(name = "channelName") String channelName, @PathVariable(name = "pageNum") Integer pageNum,
                                       ModelMap map){
        // 注入主域名与当前二级域名
        map.put("domain", domain);
        map.put("domainGanSu", domainGanSu);
        map.put("domainGanSuUrl", domainGanSu+"/web/gansu/"+channelName+"/index_");
        // 频道信息数据
        List<String> channelIds = new ArrayList<>();// 文章列表获取参数
        String channelId;// 频道配置获取参数
        switch (channelName){
            case "tzgg":// 甘肃-通知公告(2201010101)
                channelIds.add("2201010101");
                channelId = "2201010101";
                break;
            case "gzdt":// 甘肃-工作动态(2201010102)
                channelIds.add("2201010102");
                channelId = "2201010102";
                break;
            case "zfyzb":// 甘肃-正福易找标(2201010103)
                channelIds.add("2201010103");
                channelId = "2201010103";
                break;
            case "flfg":// 甘肃-法律法规(2201010104)
                channelIds.add("104010301");
                channelId = "2201010104";
                break;
            case "dffg":// 甘肃-地方法规(2201010105)
                channelIds.add("2201010105");
                channelId = "2201010105";
                break;
            case "zczq":// 甘肃-政策专区(2201010106)
                channelIds.add("2201010106");
                channelId = "2201010106";
                break;
            case "tscljg":// 甘肃-投诉处理结果(2201010107)
                channelIds.add("2201010107");
                channelId = "2201010107";
                break;
            case "ppp":// 甘肃-PPP专区(2201010108)
                channelIds.add("2201010108");
                channelId = "2201010108";
                break;
            default:// 默认取甘肃全站数据（热搜榜）
                channelIds.add("2201");
                channelId = "2201";
        }
        // 获取频道配置参数
        Channel channel = channelService.getChannelByPlateId(channelId);
        map.put("channel", channel);
        map.put("column", channel.getChannelName());
        // 内容列表数据
        if (null == pageNum) pageNum = 1;
        PageHelper.startPage(pageNum, 12);
        List<ArticleList> articleList = articleMapper.loadArticleByPlates(channelIds);
        // 处理文章标题
        articleList.forEach(item -> {
            ArticleTitle articleTitle = articleTitleMapper.loadArticleTitle(item.getArticleId(), -1);
            if (null != articleTitle){
                item.setArticleTitle(articleTitle.getArticleTitle());
                item.setArticleImage(articleTitle.getArticleImage());
                item.setArticleImageAlt(articleTitle.getArticleImageAlt());
            }
            // 关键字列表处理
            List<ArticleKeyword> articleKeywordList = new ArrayList<>();// 关键词列表(可点击)
            if (!item.getArticleKeyWord().equals("")) {
                String[] articleKeyword = item.getArticleKeyWord().split(",");
                for (String info : articleKeyword) {
                    ArticleKeyword keyword = articleKeywordMapper.selectByPrimaryKey(Integer.valueOf(info));
                    if (null != keyword) {
                        articleKeywordList.add(keyword);
                    }
                }
            }
            item.setArticleKeywordList(articleKeywordList);
        });
        map.put("articleList", new PageInfo<>(articleList));
        return "/web/html/list/gansuList";
    }

    /**
     * 获取新疆生产建设兵团分站各个栏目列表页更多接口--返回伪静态数据页
     * 前台页面访问地址：bingtuan.caigou2003.com/web/bingtuan/tzgg/index_1.html
     * 转发接口地址：api.caigou2003.com/bingtuan/tzgg/1
     * @param map           数据返回结构
     * @param channelName   需加载数据的栏目ID
     * @param pageNum       页码
     * @return              页面数据
     */
    @RequestMapping(value = "/bingtuan/{channelName}/{pageNum}", method = RequestMethod.GET)
    public String bingtuanRewrite(@PathVariable(name = "channelName") String channelName, @PathVariable(name = "pageNum") Integer pageNum,
                                   ModelMap map){
        // 注入主域名与当前二级域名
        map.put("domain", domain);
        map.put("domainBingTuan", domainBingTuan);
        map.put("domainBingTuanUrl", domainBingTuan+"/web/bingtuan/"+channelName+"/index_");
        // 频道信息数据
        List<String> channelIds = new ArrayList<>();// 文章列表获取参数
        String channelId;// 频道配置获取参数
        switch (channelName){
            case "tzgg":// 兵团-通知公告(3301010101)
                channelIds.add("3301010101");
                channelId = "3301010101";
                break;
            case "gzdt":// 兵团-工作动态(3301010102)
                channelIds.add("3301010102");
                channelId = "3301010102";
                break;
            case "zfyzb":// 兵团-正福易找标(3301010103)
                channelIds.add("3301010103");
                channelId = "3301010103";
                break;
            case "flfg":// 兵团-法律法规(3301010104)
                channelIds.add("104010301");
                channelId = "3301010104";
                break;
            case "dffg":// 兵团-地方法规(3301010105)
                channelIds.add("3301010105");
                channelId = "3301010105";
                break;
            case "zczq":// 兵团-政策专区(3301010106)
                channelIds.add("3301010106");
                channelId = "3301010106";
                break;
            case "tscljg":// 兵团-投诉处理结果(3301010107)
                channelIds.add("3301010107");
                channelId = "3301010107";
                break;
            case "jdjccljg":// 兵团-监督检查处理结果(3301010108)
                channelIds.add("3301010108");
                channelId = "3301010108";
                break;
            case "gmfu":// 兵团-购买服务(3301010109)
                channelIds.add("3301010109");
                channelId = "3301010109";
                break;
            case "bszn":// 兵团-办事指南(3301010110)
                channelIds.add("3301010110");
                channelId = "3301010110";
                break;
            case "cjwtjd":// 兵团-常见问题解答(3301010111)
                channelIds.add("3301010111");
                channelId = "3301010111";
                break;
            case "wjxz":// 兵团-文件下载(3301010112)
                channelIds.add("3301010112");
                channelId = "3301010112";
                break;
            default:// 默认取兵团全站数据（热搜榜）
                channelIds.add("3301");
                channelId = "3301";
        }
        // 获取频道配置参数
        Channel channel = channelService.getChannelByPlateId(channelId);
        map.put("channel", channel);
        map.put("column", channel.getChannelName());
        // 内容列表数据
        if (null == pageNum) pageNum = 1;
        PageHelper.startPage(pageNum, 12);
        List<ArticleList> articleList = articleMapper.loadArticleByPlates(channelIds);
        // 处理文章标题
        articleList.forEach(item -> {
            ArticleTitle articleTitle = articleTitleMapper.loadArticleTitle(item.getArticleId(), -1);
            if (null != articleTitle){
                item.setArticleTitle(articleTitle.getArticleTitle());
                item.setArticleImage(articleTitle.getArticleImage());
                item.setArticleImageAlt(articleTitle.getArticleImageAlt());
            }
            // 关键字列表处理
            List<ArticleKeyword> articleKeywordList = new ArrayList<>();// 关键词列表(可点击)
            if (!item.getArticleKeyWord().equals("")) {
                String[] articleKeyword = item.getArticleKeyWord().split(",");
                for (String info : articleKeyword) {
                    ArticleKeyword keyword = articleKeywordMapper.selectByPrimaryKey(Integer.valueOf(info));
                    if (null != keyword) {
                        articleKeywordList.add(keyword);
                    }
                }
            }
            item.setArticleKeywordList(articleKeywordList);
        });
        map.put("articleList", new PageInfo<>(articleList));
        return "/web/html/list/bingtuanList";
    }

    /**
     * 获取关键词列表页更多接口--返回伪静态数据页
     * 前台页面访问地址：www.caigou2003.com/web/tag.html
     * 转发接口地址：api.caigou2003.com/www/tag
     * @param map           数据返回结构
     * @return              页面数据
     */
    @RequestMapping(value = "/www/tag", method = RequestMethod.GET)
    public String tagListRewrite(ModelMap map){
        Channel channel = channelService.getChannelByPlateId("101");
        map.put("channel", channel);
        List<ArticleKeyword> articleKeywords = articleKeywordMapper.findAllArticleKeywords();
        if (!CollectionUtils.isEmpty(articleKeywords)) {
            List<KeyValueVO> keyValueVOS = articleKeywords.stream().map(bean -> new KeyValueVO(bean.getKeyword(), bean.getId(), domain)).collect(Collectors.toList());
            map.put("tagList", keyValueVOS);
        }
        return "/web/html/list/tagList1";
    }
}